Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008496, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00083/0.00083, allocations: 173.4 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6083/0.6083, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 12 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.128, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01535/0.1434, allocations: 17.38 MB / 0.5737 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.1485, allocations: 3.985 MB / 0.5776 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.1488, allocations: 15.88 kB / 0.5776 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.1495, allocations: 258.7 kB / 0.5778 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.151, allocations: 0.8133 MB / 0.5786 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.1527, allocations: 0.7639 MB / 0.5794 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1538, allocations: 0.8474 MB / 0.5802 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.1543, allocations: 342.9 kB / 0.5805 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007236/0.155, allocations: 482.3 kB / 0.581 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.1554, allocations: 318.7 kB / 0.5813 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.1555, allocations: 20 kB / 0.5813 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.1563, allocations: 403.4 kB / 0.5817 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1564, allocations: 95.58 kB / 0.5818 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1565, allocations: 125.4 kB / 0.5819 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.1572, allocations: 0.5185 MB / 0.5824 GB, free: 1.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1572, allocations: 0 / 0.5824 GB, free: 1.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1572, allocations: 0 / 0.5824 GB, free: 1.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1572, allocations: 4 kB / 0.5824 GB, free: 1.336 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001427/0.1587, allocations: 0.8136 MB / 0.5832 GB, free: 484 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1587, allocations: 15.97 kB / 0.5832 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/0.1588, allocations: 58.55 kB / 0.5833 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.393e-05/0.1589, allocations: 67.19 kB / 0.5834 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2165/0.3754, allocations: 427.3 kB / 0.5838 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3754, allocations: 27.09 kB / 0.5838 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.3755, allocations: 36.94 kB / 0.5838 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.3761, allocations: 315.4 kB / 0.5841 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3761, allocations: 0 / 0.5841 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.3762, allocations: 14.09 kB / 0.5841 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3762, allocations: 6.5 kB / 0.5841 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.3768, allocations: 286.1 kB / 0.5844 GB, free: 35.05 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3787, allocations: 1.349 MB / 0.5857 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.3793, allocations: 293.3 kB / 0.586 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.3796, allocations: 0.4936 MB / 0.5865 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3796, allocations: 39.92 kB / 0.5865 GB, free: 33.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.3796, allocations: 3.688 kB / 0.5865 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001586/0.3812, allocations: 0.5829 MB / 0.5871 GB, free: 33.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.3813, allocations: 59.23 kB / 0.5872 GB, free: 33.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.3818, allocations: 465.6 kB / 0.5876 GB, free: 33.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3818, allocations: 33.52 kB / 0.5876 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.382, allocations: 239.6 kB / 0.5879 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.382, allocations: 85.67 kB / 0.5879 GB, free: 33.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.3821, allocations: 9.25 kB / 0.588 GB, free: 33.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.3821, allocations: 358.2 kB / 0.5883 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3824, allocations: 122.1 kB / 0.5884 GB, free: 32.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.3828, allocations: 186.3 kB / 0.5886 GB, free: 32.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.3831, allocations: 145.4 kB / 0.5887 GB, free: 32.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3831, allocations: 0.5156 kB / 0.5887 GB, free: 32.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000903/0.384, allocations: 427.9 kB / 0.5891 GB, free: 32.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.3841, allocations: 273.2 kB / 0.5894 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3841, allocations: 0.7188 kB / 0.5894 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.3844, allocations: 58.22 kB / 0.5895 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.3847, allocations: 75.67 kB / 0.5895 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000286/0.385, allocations: 0.5654 MB / 0.5901 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.3855, allocations: 67.33 kB / 0.5901 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3855, allocations: 16.22 kB / 0.5902 GB, free: 31.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.3855, allocations: 3.344 kB / 0.5902 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006599/0.3862, allocations: 320.2 kB / 0.5905 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.3862, allocations: 1.031 kB / 0.5905 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.3862, allocations: 2.906 kB / 0.5905 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.3866, allocations: 85.86 kB / 0.5906 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3866, allocations: 6.969 kB / 0.5906 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.387, allocations: 64.38 kB / 0.5906 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.387, allocations: 16.75 kB / 0.5906 GB, free: 31.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.3872, allocations: 250.5 kB / 0.5909 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.3872, allocations: 49.12 kB / 0.5909 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.3881, allocations: 437.6 kB / 0.5913 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3881, allocations: 3.484 kB / 0.5913 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3882, allocations: 2.938 kB / 0.5913 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.3882, allocations: 6.594 kB / 0.5914 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.3895, allocations: 0.969 MB / 0.5923 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3896, allocations: 1.484 kB / 0.5923 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.3898, allocations: 53.8 kB / 0.5924 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.3899, allocations: 50.89 kB / 0.5924 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.39, allocations: 8 kB / 0.5924 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002161/0.3902, allocations: 0.5622 MB / 0.593 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3902, allocations: 5.406 kB / 0.593 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.3909, allocations: 0.5408 MB / 0.5935 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.3911, allocations: 159.1 kB / 0.5936 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.3912, allocations: 11.73 kB / 0.5937 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.3915, allocations: 41.47 kB / 0.5937 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.3916, allocations: 33.69 kB / 0.5937 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3916, allocations: 9.906 kB / 0.5937 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3919, allocations: 320.7 kB / 0.594 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3919, allocations: 3.062 kB / 0.594 GB, free: 29.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006523/0.3926, allocations: 253.2 kB / 0.5943 GB, free: 29.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.3938, allocations: 1.508 MB / 0.5958 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3949, allocations: 488.3 kB / 0.5962 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3949, allocations: 0 / 0.5962 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.3953, allocations: 182.6 kB / 0.5964 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3966, allocations: 248.9 kB / 0.5966 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3984, allocations: 1.635 MB / 0.5982 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3988, allocations: 0.8678 MB / 0.5991 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.3992, allocations: 112.5 kB / 0.5992 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.3995, allocations: 176.4 kB / 0.5994 GB, free: 25.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3995, allocations: 0 / 0.5994 GB, free: 25.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2267/0.6262, allocations: 14.14 MB / 0.6132 GB, free: 20.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.6264, allocations: 253 kB / 0.6134 GB, free: 20.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.894, allocations: 0 / 0.6134 GB, free: 20.5 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: