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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 176 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4848/0.4848, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 106 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.866e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.052, allocations: 342.2 MB / 0.8878 GB, free: 158 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/1.052, allocations: 79.95 kB / 0.8879 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7935/1.845, allocations: 254.8 MB / 1.137 GB, free: 133 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.944e-06/1.846, allocations: 0 / 1.137 GB, free: 133 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.087e-05/1.846, allocations: 19.69 kB / 1.137 GB, free: 133 MB / 0.5886 GB 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.001475/1.847, allocations: 0.8282 MB / 1.138 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.847, allocations: 8.031 kB / 1.138 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/1.847, allocations: 63.25 kB / 1.138 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/1.848, allocations: 477.1 kB / 1.138 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/1.848, allocations: 11.06 kB / 1.138 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/1.848, allocations: 24 kB / 1.138 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/1.849, allocations: 185.5 kB / 1.138 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/1.849, allocations: 234.1 kB / 1.138 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.849, allocations: 3.953 kB / 1.138 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/1.849, allocations: 3.984 kB / 1.138 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.849, allocations: 8 kB / 1.138 GB, free: 131.1 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.001737/1.851, allocations: 1.247 MB / 1.14 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/1.851, allocations: 227.4 kB / 1.14 GB, free: 129.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/1.851, allocations: 104.7 kB / 1.14 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/1.852, allocations: 0.4947 MB / 1.141 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/1.852, allocations: 42.19 kB / 1.141 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/1.852, allocations: 0 / 1.141 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0006117/1.852, allocations: 273.7 kB / 1.141 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/1.852, allocations: 55.41 kB / 1.141 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/1.853, allocations: 353.2 kB / 1.141 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/1.853, allocations: 28.8 kB / 1.141 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.853, allocations: 244.6 kB / 1.141 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.853, allocations: 82.75 kB / 1.142 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/1.853, allocations: 0 / 1.142 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/1.853, allocations: 358.7 kB / 1.142 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.853, allocations: 79.98 kB / 1.142 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/1.853, allocations: 170.8 kB / 1.142 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/1.853, allocations: 122 kB / 1.142 GB, free: 127 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.853, allocations: 0 / 1.142 GB, free: 127 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006238/1.854, allocations: 343.1 kB / 1.143 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/1.854, allocations: 275.4 kB / 1.143 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.854, allocations: 0 / 1.143 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/1.854, allocations: 40.83 kB / 1.143 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/1.855, allocations: 79.33 kB / 1.143 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003158/1.855, allocations: 0.5609 MB / 1.143 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/1.855, allocations: 67.72 kB / 1.144 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/1.856, allocations: 19.98 kB / 1.144 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.856, allocations: 4 kB / 1.144 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004234/1.856, allocations: 219.7 kB / 1.144 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/1.856, allocations: 0 / 1.144 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/1.856, allocations: 4 kB / 1.144 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/1.856, allocations: 91.88 kB / 1.144 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/1.856, allocations: 0 / 1.144 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/1.857, allocations: 51.8 kB / 1.144 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/1.857, allocations: 22.92 kB / 1.144 GB, free: 125.2 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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 () * 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.0001246/1.857, allocations: 113.1 kB / 1.144 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004214/1.857, allocations: 257.8 kB / 1.144 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/1.857, allocations: 43.44 kB / 1.144 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/1.858, allocations: 336.3 kB / 1.145 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.858, allocations: 11.98 kB / 1.145 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.858, allocations: 4 kB / 1.145 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.858, allocations: 0 / 1.145 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009808/1.859, allocations: 0.808 MB / 1.145 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/1.859, allocations: 4 kB / 1.145 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.859, allocations: 60.03 kB / 1.146 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/1.859, allocations: 32.83 kB / 1.146 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.86, allocations: 4 kB / 1.146 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002121/1.86, allocations: 0.5601 MB / 1.146 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.86, allocations: 7.969 kB / 1.146 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/1.86, allocations: 476 kB / 1.147 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.86, allocations: 156.4 kB / 1.147 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/1.86, allocations: 0 / 1.147 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/1.861, allocations: 47.8 kB / 1.147 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/1.861, allocations: 31.86 kB / 1.147 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/1.861, allocations: 12 kB / 1.147 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00021/1.861, allocations: 274.9 kB / 1.147 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.861, allocations: 0 / 1.147 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007354/1.862, allocations: 255.6 kB / 1.147 GB, free: 121.6 MB / 0.5886 GB 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 () * 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.001192/1.863, allocations: 1.537 MB / 1.149 GB, free: 120 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006334/1.864, allocations: 370.3 kB / 1.149 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.864, allocations: 0 / 1.149 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/1.864, allocations: 130.7 kB / 1.149 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.865, allocations: 238.7 kB / 1.15 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.866, allocations: 0.6881 MB / 1.15 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/1.867, allocations: 0.8674 MB / 1.151 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004755/1.867, allocations: 124.1 kB / 1.151 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/1.867, allocations: 171.4 kB / 1.151 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.5e-07/1.867, allocations: 7.875 kB / 1.151 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/1.899, allocations: 14.36 MB / 1.165 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/1.899, allocations: 168.1 kB / 1.166 GB, free: 103 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/4.37, allocations: 2 kB / 1.166 GB, free: 103 MB / 0.5886 GB (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)