Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001478/0.001478, allocations: 250.2 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6655/0.6655, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.823e-05, allocations: 3.703 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1359/0.1359, allocations: 152.8 MB / 0.6007 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006168/0.1421, allocations: 4.932 MB / 0.6055 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.1427, allocations: 63.44 kB / 0.6056 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.1434, allocations: 420.8 kB / 0.606 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.1452, allocations: 1.28 MB / 0.6072 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.1471, allocations: 1.513 MB / 0.6087 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.15, allocations: 2.967 MB / 0.6116 GB, free: 14.45 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.1508, allocations: 0.7348 MB / 0.6123 GB, free: 13.7 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.1527, allocations: 1.513 MB / 0.6138 GB, free: 12.24 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.1533, allocations: 0.6548 MB / 0.6144 GB, free: 11.59 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.606e-05/0.1534, allocations: 96 kB / 0.6145 GB, free: 11.49 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009207/0.1543, allocations: 0.721 MB / 0.6152 GB, free: 10.77 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.1547, allocations: 386.7 kB / 0.6156 GB, free: 10.39 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.155, allocations: 387 kB / 0.616 GB, free: 10.01 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.1561, allocations: 1.374 MB / 0.6173 GB, free: 8.633 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1561, allocations: 0 / 0.6173 GB, free: 8.633 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1561, allocations: 4 kB / 0.6173 GB, free: 8.629 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.1561, allocations: 0 / 0.6173 GB, free: 8.629 MB / 0.573 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.001593/0.1577, allocations: 1.46 MB / 0.6187 GB, free: 7.133 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.1577, allocations: 8.75 kB / 0.6188 GB, free: 7.125 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009725/0.1587, allocations: 472.1 kB / 0.6192 GB, free: 6.664 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.1595, allocations: 0.7043 MB / 0.6199 GB, free: 5.934 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.1595, allocations: 54.8 kB / 0.6199 GB, free: 5.883 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.1596, allocations: 68 kB / 0.62 GB, free: 5.816 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.1605, allocations: 0.7963 MB / 0.6208 GB, free: 4.957 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1605, allocations: 3.938 kB / 0.6208 GB, free: 4.953 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.1605, allocations: 27.94 kB / 0.6208 GB, free: 4.926 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.1606, allocations: 33.3 kB / 0.6208 GB, free: 4.895 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.161, allocations: 314.1 kB / 0.6211 GB, free: 4.578 MB / 0.573 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.002335/0.1633, allocations: 1.941 MB / 0.623 GB, free: 2.598 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.1638, allocations: 345.4 kB / 0.6234 GB, free: 2.246 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1639, allocations: 143.4 kB / 0.6235 GB, free: 2.098 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.1641, allocations: 45.55 kB / 0.6236 GB, free: 2.055 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.1644, allocations: 418 kB / 0.6239 GB, free: 1.59 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 1.663e-06/0.1644, allocations: 4 kB / 0.624 GB, free: 1.586 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.0006421/0.165, allocations: 483.8 kB / 0.6244 GB, free: 1.09 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1651, allocations: 144.8 kB / 0.6246 GB, free: 0.918 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.1656, allocations: 0.6911 MB / 0.6252 GB, free: 220 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1656, allocations: 45.64 kB / 0.6253 GB, free: 168 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1658, allocations: 346.4 kB / 0.6256 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.1659, allocations: 198.2 kB / 0.6258 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.1663, allocations: 138.1 kB / 0.6259 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.1663, allocations: 333.9 kB / 0.6262 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1665, allocations: 97.81 kB / 0.6263 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.1668, allocations: 0.5265 MB / 0.6268 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.1671, allocations: 379.4 kB / 0.6272 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1671, allocations: 0 / 0.6272 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004359/0.1675, allocations: 415.1 kB / 0.6276 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.1675, allocations: 41.69 kB / 0.6276 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1676, allocations: 4 kB / 0.6276 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1676, allocations: 4 kB / 0.6277 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.1679, allocations: 160.4 kB / 0.6278 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.1679, allocations: 11.88 kB / 0.6278 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.1683, allocations: 143.5 kB / 0.628 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.1683, allocations: 23.98 kB / 0.628 GB, free: 13.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.1685, allocations: 191.2 kB / 0.6282 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.1686, allocations: 75.92 kB / 0.6282 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.1691, allocations: 456.8 kB / 0.6287 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1691, allocations: 11.98 kB / 0.6287 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1691, allocations: 3.938 kB / 0.6287 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1691, allocations: 0.625 kB / 0.6287 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.1705, allocations: 1.66 MB / 0.6303 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1705, allocations: 8 kB / 0.6303 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1708, allocations: 104.4 kB / 0.6304 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.1708, allocations: 17 kB / 0.6304 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.1708, allocations: 23.98 kB / 0.6305 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1708, allocations: 8 kB / 0.6305 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.1708, allocations: 11.94 kB / 0.6305 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.1714, allocations: 0.9189 MB / 0.6314 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.1716, allocations: 163.2 kB / 0.6315 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.1716, allocations: 23.98 kB / 0.6315 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.172, allocations: 64.95 kB / 0.6316 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1721, allocations: 67.67 kB / 0.6317 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.1721, allocations: 31.97 kB / 0.6317 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002151/0.1723, allocations: 324.5 kB / 0.632 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.1723, allocations: 0 / 0.632 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004967/0.1728, allocations: 299.4 kB / 0.6323 GB, free: 8.402 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00052/0.1733, allocations: 217 kB / 0.6325 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.1738, allocations: 427.4 kB / 0.6329 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.1738, allocations: 8 kB / 0.6329 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.174, allocations: 272.7 kB / 0.6332 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009317/0.1749, allocations: 412.6 kB / 0.6336 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1766, allocations: 1.758 MB / 0.6353 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.1768, allocations: 220.4 kB / 0.6355 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.1771, allocations: 150.9 kB / 0.6356 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.1777, allocations: 338.9 kB / 0.636 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.1777, allocations: 0 / 0.636 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of Templates: time 0.0195/0.1972, allocations: 18 MB / 0.6535 GB, free: 2.996 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9996239682659507]