Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",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.001611/0.00161, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5575/0.5575, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.776/1.776, allocations: 223.1 MB / 354.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 92.28 kB / 427.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 72.31 MB / 0.5689 GB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.378, allocations: 353.4 MB / 0.9141 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.378, allocations: 95.19 kB / 0.9142 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9634/2.341, allocations: 260.1 MB / 1.168 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/2.341, allocations: 0 / 1.168 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001032/2.341, allocations: 16 kB / 1.168 GB, free: 114.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003126/2.345, allocations: 1.032 MB / 1.169 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/2.345, allocations: 12.03 kB / 1.169 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002789/2.345, allocations: 70.53 kB / 1.169 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/2.346, allocations: 175.1 kB / 1.169 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02545/2.371, allocations: 12.12 MB / 1.181 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/2.372, allocations: 92.94 kB / 1.181 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/2.372, allocations: 36 kB / 1.181 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/2.373, allocations: 0.5124 MB / 1.182 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/2.373, allocations: 0 / 1.182 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/2.373, allocations: 16 kB / 1.182 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/2.373, allocations: 12.66 kB / 1.182 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/2.375, allocations: 430.6 kB / 1.182 GB, free: 99.8 MB / 0.6042 GB 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.003462/2.378, allocations: 2.268 MB / 1.185 GB, free: 97.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009567/2.379, allocations: 386.9 kB / 1.185 GB, free: 96.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/2.379, allocations: 346.6 kB / 1.185 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/2.38, allocations: 316.2 kB / 1.186 GB, free: 96.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/2.38, allocations: 0 / 1.186 GB, free: 96.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002175/2.382, allocations: 0.9555 MB / 1.186 GB, free: 95.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/2.382, allocations: 85.09 kB / 1.187 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/2.383, allocations: 430.1 kB / 1.187 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/2.383, allocations: 41.69 kB / 1.187 GB, free: 94.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/2.383, allocations: 276.4 kB / 1.187 GB, free: 94.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.383, allocations: 109.5 kB / 1.187 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/2.383, allocations: 4 kB / 1.187 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/2.383, allocations: 374.6 kB / 1.188 GB, free: 93.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/2.384, allocations: 183.9 kB / 1.188 GB, free: 93.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/2.384, allocations: 284.4 kB / 1.188 GB, free: 93.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/2.385, allocations: 226.4 kB / 1.188 GB, free: 93.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/2.385, allocations: 0 / 1.188 GB, free: 93.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001241/2.386, allocations: 0.632 MB / 1.189 GB, free: 92.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.386, allocations: 0.6452 MB / 1.19 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/2.386, allocations: 0 / 1.19 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/2.386, allocations: 48.84 kB / 1.19 GB, free: 91.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/2.387, allocations: 91.88 kB / 1.19 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/2.387, allocations: 0.6024 MB / 1.19 GB, free: 91.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/2.388, allocations: 83.66 kB / 1.19 GB, free: 90.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/2.388, allocations: 23.98 kB / 1.19 GB, free: 90.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/2.388, allocations: 4 kB / 1.19 GB, free: 90.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/2.389, allocations: 0.5644 MB / 1.191 GB, free: 90.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/2.389, allocations: 4 kB / 1.191 GB, free: 90.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/2.389, allocations: 44.83 kB / 1.191 GB, free: 90.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/2.39, allocations: 92.03 kB / 1.191 GB, free: 90.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/2.391, allocations: 1.635 MB / 1.193 GB, free: 88.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/2.392, allocations: 83.62 kB / 1.193 GB, free: 88.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/2.392, allocations: 24 kB / 1.193 GB, free: 88.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004055/2.392, allocations: 299.5 kB / 1.193 GB, free: 88.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/2.393, allocations: 59.3 kB / 1.193 GB, free: 87.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/2.394, allocations: 0.6581 MB / 1.194 GB, free: 87.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/2.394, allocations: 4 kB / 1.194 GB, free: 87.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/2.394, allocations: 0 / 1.194 GB, free: 87.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/2.395, allocations: 0.8387 MB / 1.195 GB, free: 86.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/2.397, allocations: 1.324 MB / 1.196 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/2.397, allocations: 0 / 1.196 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/2.398, allocations: 71.98 kB / 1.196 GB, free: 84.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/2.398, allocations: 48.83 kB / 1.196 GB, free: 84.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/2.398, allocations: 15.94 kB / 1.196 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002686/2.398, allocations: 0.5681 MB / 1.197 GB, free: 84.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/2.398, allocations: 3.938 kB / 1.197 GB, free: 84.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/2.4, allocations: 1.053 MB / 1.198 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/2.4, allocations: 184.3 kB / 1.198 GB, free: 82.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/2.4, allocations: 15.98 kB / 1.198 GB, free: 82.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/2.401, allocations: 67.91 kB / 1.198 GB, free: 82.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/2.401, allocations: 19.98 kB / 1.198 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/2.401, allocations: 23.97 kB / 1.198 GB, free: 82.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004192/2.402, allocations: 342.8 kB / 1.198 GB, free: 82.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.032e-06/2.402, allocations: 0 / 1.198 GB, free: 82.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001572/2.403, allocations: 382.2 kB / 1.199 GB, free: 82.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002824/2.406, allocations: 2.071 MB / 1.201 GB, free: 80 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001962/2.408, allocations: 0.9875 MB / 1.202 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/2.408, allocations: 4.062 kB / 1.202 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/2.408, allocations: 323.3 kB / 1.202 GB, free: 78.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/2.41, allocations: 239.9 kB / 1.202 GB, free: 78.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/2.416, allocations: 4.343 MB / 1.206 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/2.417, allocations: 0.8901 MB / 1.207 GB, free: 73.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006085/2.417, allocations: 124.4 kB / 1.207 GB, free: 72.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/2.417, allocations: 203.4 kB / 1.208 GB, free: 72.72 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/2.417, allocations: 0 / 1.208 GB, free: 72.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/2.455, allocations: 17.86 MB / 1.225 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/2.456, allocations: 253.8 kB / 1.225 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/5.177, allocations: 3.375 kB / 1.225 GB, free: 54.81 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)