Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 180.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 94.44 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.471e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8489, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/2.228, allocations: 388.3 MB / 1.343 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/2.229, allocations: 86.58 kB / 1.343 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8699/3.099, allocations: 252.2 MB / 1.589 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.194e-06/3.099, allocations: 0 / 1.589 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.815e-05/3.099, allocations: 19.98 kB / 1.589 GB, free: 3.383 MB / 0.9167 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.002673/3.102, allocations: 0.9268 MB / 1.59 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/3.102, allocations: 12.02 kB / 1.59 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/3.103, allocations: 183 kB / 1.59 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04281/3.146, allocations: 11.71 MB / 1.602 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006016/3.147, allocations: 96.7 kB / 1.602 GB, free: 6.227 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/3.147, allocations: 24 kB / 1.602 GB, free: 6.203 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000926/3.148, allocations: 293.4 kB / 1.602 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/3.149, allocations: 404.8 kB / 1.602 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/3.149, allocations: 3.938 kB / 1.602 GB, free: 5.492 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/3.149, allocations: 3.953 kB / 1.602 GB, free: 5.488 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/3.149, allocations: 15.98 kB / 1.602 GB, free: 5.473 MB / 0.9323 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.005133/3.154, allocations: 2.178 MB / 1.604 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/3.155, allocations: 258.8 kB / 1.605 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/3.155, allocations: 174.3 kB / 1.605 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/3.156, allocations: 340.6 kB / 1.605 GB, free: 2.262 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/3.157, allocations: 250.8 kB / 1.605 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.466e-06/3.157, allocations: 0 / 1.605 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.00182/3.158, allocations: 470 kB / 1.606 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/3.158, allocations: 85.05 kB / 1.606 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/3.159, allocations: 369.3 kB / 1.606 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/3.159, allocations: 29.7 kB / 1.606 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/3.16, allocations: 288.1 kB / 1.607 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/3.16, allocations: 94.56 kB / 1.607 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/3.16, allocations: 0 / 1.607 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001984/3.16, allocations: 362.8 kB / 1.607 GB, free: 292 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/3.16, allocations: 119.8 kB / 1.607 GB, free: 172 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.659/3.819, allocations: 216.1 kB / 1.607 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/3.82, allocations: 162.5 kB / 1.608 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/3.82, allocations: 1.406 kB / 1.608 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001994/3.822, allocations: 0.4938 MB / 1.608 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/3.823, allocations: 0.6479 MB / 1.609 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/3.823, allocations: 6.547 kB / 1.609 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/3.823, allocations: 44.47 kB / 1.609 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/3.824, allocations: 85.88 kB / 1.609 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000602/3.824, allocations: 0.5996 MB / 1.609 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/3.825, allocations: 71.64 kB / 1.609 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/3.826, allocations: 21.56 kB / 1.609 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/3.826, allocations: 6.5 kB / 1.609 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/3.827, allocations: 430.4 kB / 1.61 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/3.827, allocations: 5.25 kB / 1.61 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/3.828, allocations: 44.22 kB / 1.61 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/3.828, allocations: 87.89 kB / 1.61 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/3.83, allocations: 1.57 MB / 1.612 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/3.831, allocations: 71.89 kB / 1.612 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/3.831, allocations: 20.94 kB / 1.612 GB, free: 238.8 MB / 0.9323 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 () * 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.000259/3.832, allocations: 144.4 kB / 1.612 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001658/3.833, allocations: 485.1 kB / 1.612 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/3.833, allocations: 50.88 kB / 1.612 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/3.835, allocations: 0.5202 MB / 1.613 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/3.835, allocations: 4.094 kB / 1.613 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/3.835, allocations: 0.6094 kB / 1.613 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/3.837, allocations: 0.6831 MB / 1.613 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/3.84, allocations: 1.136 MB / 1.615 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/3.841, allocations: 4.469 kB / 1.615 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/3.841, allocations: 70.17 kB / 1.615 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/3.841, allocations: 36.25 kB / 1.615 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/3.841, allocations: 12.41 kB / 1.615 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004323/3.842, allocations: 0.5702 MB / 1.615 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/3.842, allocations: 1 kB / 1.615 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/3.844, allocations: 0.8491 MB / 1.616 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/3.845, allocations: 183.9 kB / 1.616 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/3.845, allocations: 9.125 kB / 1.616 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/3.846, allocations: 59.27 kB / 1.616 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/3.846, allocations: 32.7 kB / 1.616 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/3.846, allocations: 26.02 kB / 1.616 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004639/3.847, allocations: 289.5 kB / 1.617 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.01e-07/3.847, allocations: 2.5 kB / 1.617 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001971/3.849, allocations: 365.3 kB / 1.617 GB, free: 236.8 MB / 0.9323 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) * 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.003239/3.852, allocations: 1.855 MB / 1.619 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001983/3.854, allocations: 0.8098 MB / 1.62 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/3.854, allocations: 3.375 kB / 1.62 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/3.855, allocations: 255.9 kB / 1.62 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/3.857, allocations: 223.6 kB / 1.62 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/3.861, allocations: 0.916 MB / 1.621 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/3.861, allocations: 0.8869 MB / 1.622 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001173/3.862, allocations: 151.3 kB / 1.622 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/3.863, allocations: 188.9 kB / 1.622 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/3.863, allocations: 0 / 1.622 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09131/3.954, allocations: 15.95 MB / 1.638 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/3.954, allocations: 178.2 kB / 1.638 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/7.259, allocations: 2.625 kB / 1.638 GB, free: 234.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)