Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.001167/0.001167, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.515/0.515, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.893/1.893, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.001108/0.001108, allocations: 96.16 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005325/0.0005326, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2032, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.728/5.931, allocations: 2.108 GB / 2.677 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/5.931, allocations: 87.95 kB / 2.677 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.441/8.372, allocations: 0.6592 GB / 3.336 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/8.372, allocations: 0 / 3.336 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001013/8.372, allocations: 35.98 kB / 3.336 GB, free: 47.7 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005085/8.378, allocations: 1.649 MB / 3.338 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/8.378, allocations: 11.97 kB / 3.338 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/8.378, allocations: 114.5 kB / 3.338 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/8.381, allocations: 0.5293 MB / 3.339 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02512/8.406, allocations: 13.23 MB / 3.352 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/8.407, allocations: 313.2 kB / 3.352 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/8.407, allocations: 68 kB / 3.352 GB, free: 31.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/8.409, allocations: 1.174 MB / 3.353 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/8.41, allocations: 4 kB / 3.353 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/8.41, allocations: 28 kB / 3.353 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/8.41, allocations: 33.28 kB / 3.353 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/8.412, allocations: 1.164 MB / 3.354 GB, free: 29.11 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.005962/8.418, allocations: 3.322 MB / 3.358 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/8.42, allocations: 0.6842 MB / 3.358 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/8.42, allocations: 1.029 MB / 3.359 GB, free: 23.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008604/8.421, allocations: 0.5415 MB / 3.36 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.776e-06/8.421, allocations: 0 / 3.36 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.002737/8.424, allocations: 1.363 MB / 3.361 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/8.424, allocations: 143 kB / 3.361 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/8.426, allocations: 1.089 MB / 3.362 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/8.426, allocations: 41.7 kB / 3.362 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/8.426, allocations: 445.8 kB / 3.363 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/8.426, allocations: 189.3 kB / 3.363 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/8.426, allocations: 8 kB / 3.363 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/8.426, allocations: 330 kB / 3.363 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/8.428, allocations: 0.4891 MB / 3.364 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/8.429, allocations: 0.6952 MB / 3.364 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/8.43, allocations: 0.5607 MB / 3.365 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/8.43, allocations: 0 / 3.365 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002816/8.433, allocations: 1.328 MB / 3.366 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/8.433, allocations: 37.69 kB / 3.366 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/8.433, allocations: 4 kB / 3.366 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/8.433, allocations: 8 kB / 3.366 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/8.434, allocations: 215.8 kB / 3.367 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/8.434, allocations: 7.938 kB / 3.367 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/8.435, allocations: 318.8 kB / 3.367 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/8.436, allocations: 43.97 kB / 3.367 GB, free: 15.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (67): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005788/8.436, allocations: 327.6 kB / 3.367 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/8.436, allocations: 122.5 kB / 3.367 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/8.438, allocations: 1.067 MB / 3.368 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/8.438, allocations: 8 kB / 3.368 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/8.438, allocations: 4 kB / 3.368 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/8.438, allocations: 3.984 kB / 3.368 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/8.443, allocations: 3.253 MB / 3.372 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/8.443, allocations: 8 kB / 3.372 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/8.443, allocations: 132 kB / 3.372 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/8.443, allocations: 12 kB / 3.372 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/8.443, allocations: 27.98 kB / 3.372 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/8.443, allocations: 11.94 kB / 3.372 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/8.443, allocations: 11.94 kB / 3.372 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/8.445, allocations: 1.799 MB / 3.374 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/8.446, allocations: 331.4 kB / 3.374 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/8.446, allocations: 19.98 kB / 3.374 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/8.447, allocations: 135.8 kB / 3.374 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/8.447, allocations: 59.78 kB / 3.374 GB, free: 7.961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/8.447, allocations: 43.97 kB / 3.374 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001369/8.449, allocations: 0.8817 MB / 3.375 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/8.449, allocations: 0 / 3.375 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001643/8.45, allocations: 435.7 kB / 3.375 GB, free: 6.605 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004593/8.455, allocations: 5.893 MB / 3.381 GB, free: 444 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002422/8.457, allocations: 1.076 MB / 3.382 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/8.457, allocations: 10.03 kB / 3.382 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000954/8.458, allocations: 0.5267 MB / 3.383 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/8.461, allocations: 0.5334 MB / 3.383 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/8.476, allocations: 9.221 MB / 3.392 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/8.477, allocations: 1.089 MB / 3.393 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001423/8.478, allocations: 279.9 kB / 3.394 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/8.479, allocations: 367.3 kB / 3.394 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/8.479, allocations: 0 / 3.394 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4699/8.949, allocations: 51.8 MB / 3.445 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/8.949, allocations: 232 kB / 3.445 GB, free: 92.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/12.92, allocations: 6.609 kB / 3.445 GB, free: 92.75 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)