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: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 181.6 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.5011/0.5011, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.755/1.755, allocations: 223.2 MB / 354.3 MB, free: 12.1 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.0009692/0.0009693, allocations: 91.22 kB / 427.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004379, allocations: 11.98 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 72.31 MB / 0.5689 GB, free: 1.941 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.914/6.105, allocations: 2.108 GB / 2.677 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/6.105, allocations: 92.2 kB / 2.677 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.004/8.109, allocations: 0.6592 GB / 3.336 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/8.109, allocations: 4 kB / 3.336 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001429/8.109, allocations: 35.92 kB / 3.336 GB, free: 13.33 MB / 0.6198 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.005648/8.115, allocations: 1.649 MB / 3.338 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/8.115, allocations: 8.031 kB / 3.338 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/8.118, allocations: 0.5377 MB / 3.339 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3931/8.511, allocations: 13.22 MB / 3.351 GB, free: 96.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/8.513, allocations: 314.2 kB / 3.352 GB, free: 96.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/8.513, allocations: 68.22 kB / 3.352 GB, free: 96.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/8.516, allocations: 1.174 MB / 3.353 GB, free: 96.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/8.516, allocations: 0.7812 kB / 3.353 GB, free: 96.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/8.516, allocations: 25.97 kB / 3.353 GB, free: 96.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/8.516, allocations: 33.44 kB / 3.353 GB, free: 96.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/8.52, allocations: 1.167 MB / 3.354 GB, free: 96.26 MB / 0.6198 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.007141/8.527, allocations: 3.317 MB / 3.357 GB, free: 95.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/8.529, allocations: 0.7003 MB / 3.358 GB, free: 95.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/8.529, allocations: 1.028 MB / 3.359 GB, free: 94.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/8.53, allocations: 0.5405 MB / 3.36 GB, free: 94.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/8.53, allocations: 0 / 3.36 GB, free: 94.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.003179/8.534, allocations: 1.365 MB / 3.361 GB, free: 93.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/8.534, allocations: 140.5 kB / 3.361 GB, free: 93.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/8.536, allocations: 1.088 MB / 3.362 GB, free: 93.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/8.536, allocations: 39.92 kB / 3.362 GB, free: 93.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/8.536, allocations: 444.5 kB / 3.363 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/8.536, allocations: 185.9 kB / 3.363 GB, free: 93.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/8.536, allocations: 16.53 kB / 3.363 GB, free: 93.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/8.536, allocations: 331 kB / 3.363 GB, free: 93.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/8.538, allocations: 0.489 MB / 3.364 GB, free: 93.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/8.539, allocations: 0.6935 MB / 3.364 GB, free: 92.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/8.54, allocations: 0.5575 MB / 3.365 GB, free: 92.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/8.54, allocations: 1.062 kB / 3.365 GB, free: 92.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003275/8.544, allocations: 1.324 MB / 3.366 GB, free: 92.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/8.544, allocations: 38.11 kB / 3.366 GB, free: 92.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/8.544, allocations: 3.781 kB / 3.366 GB, free: 92.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/8.544, allocations: 7.781 kB / 3.366 GB, free: 92.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/8.545, allocations: 216.2 kB / 3.366 GB, free: 92.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/8.545, allocations: 9.062 kB / 3.366 GB, free: 92.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/8.546, allocations: 308.1 kB / 3.367 GB, free: 92.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/8.546, allocations: 52.94 kB / 3.367 GB, free: 92.69 MB / 0.6198 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.0005438/8.547, allocations: 329 kB / 3.367 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/8.547, allocations: 120.5 kB / 3.367 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/8.55, allocations: 1.056 MB / 3.368 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/8.55, allocations: 11.64 kB / 3.368 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/8.55, allocations: 1.734 kB / 3.368 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/8.55, allocations: 7.062 kB / 3.368 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/8.555, allocations: 3.259 MB / 3.371 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/8.555, allocations: 7.969 kB / 3.371 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/8.556, allocations: 125 kB / 3.372 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/8.556, allocations: 11.5 kB / 3.372 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/8.556, allocations: 27.5 kB / 3.372 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/8.556, allocations: 17.36 kB / 3.372 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/8.556, allocations: 11.19 kB / 3.372 GB, free: 91.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/8.558, allocations: 1.807 MB / 3.373 GB, free: 90.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/8.559, allocations: 332.3 kB / 3.374 GB, free: 90.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/8.559, allocations: 29.56 kB / 3.374 GB, free: 90.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/8.561, allocations: 131.2 kB / 3.374 GB, free: 90.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/8.561, allocations: 53.92 kB / 3.374 GB, free: 90.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/8.561, allocations: 47.5 kB / 3.374 GB, free: 90.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001773/8.563, allocations: 0.8823 MB / 3.375 GB, free: 90.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/8.563, allocations: 1.094 kB / 3.375 GB, free: 90.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001894/8.564, allocations: 437 kB / 3.375 GB, free: 90.31 MB / 0.6198 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.002617/8.567, allocations: 1.582 MB / 3.377 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002657/8.57, allocations: 1.076 MB / 3.378 GB, free: 89.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/8.57, allocations: 1.344 kB / 3.378 GB, free: 89.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/8.571, allocations: 0.5309 MB / 3.378 GB, free: 89.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/8.574, allocations: 0.5291 MB / 3.379 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/8.578, allocations: 2.269 MB / 3.381 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/8.578, allocations: 1.092 MB / 3.382 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001404/8.58, allocations: 286.5 kB / 3.382 GB, free: 88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/8.58, allocations: 84.86 kB / 3.382 GB, free: 87.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.773e-06/8.58, allocations: 0 / 3.382 GB, free: 87.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.05164/8.632, allocations: 37.1 MB / 3.419 GB, free: 86.67 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)