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.001529/0.001529, allocations: 77.78 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001635/0.001635, allocations: 161.8 kB / 23.02 MB, free: 4.945 MB / 14.72 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 1.354/1.354, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.002508/0.002508, allocations: 238 kB / 260 MB, free: 424 kB / 238.1 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.8751/0.8751, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 103.8 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3976, allocations: 95.35 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1974/0.5951, allocations: 171.9 MB / 0.9083 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.6058, allocations: 6.568 MB / 0.9147 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6068, allocations: 63.38 kB / 0.9148 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.6084, allocations: 0.687 MB / 0.9155 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.6138, allocations: 2.42 MB / 0.9178 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.6171, allocations: 1.461 MB / 0.9192 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.6209, allocations: 3.028 MB / 0.9222 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6219, allocations: 0.6855 MB / 0.9229 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.6242, allocations: 1.197 MB / 0.924 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.6255, allocations: 0.8113 MB / 0.9248 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.6257, allocations: 100 kB / 0.9249 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.6288, allocations: 1.691 MB / 0.9266 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.6292, allocations: 378.6 kB / 0.9269 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.6297, allocations: 481.8 kB / 0.9274 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.6327, allocations: 2.344 MB / 0.9297 GB, free: 500 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6327, allocations: 0 / 0.9297 GB, free: 500 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6327, allocations: 0 / 0.9297 GB, free: 500 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.6327, allocations: 0 / 0.9297 GB, free: 500 kB / 0.7481 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.003241/0.636, allocations: 1.598 MB / 0.9313 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.636, allocations: 12.75 kB / 0.9313 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.6389, allocations: 0.5377 MB / 0.9318 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.6411, allocations: 0.9664 MB / 0.9327 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.6412, allocations: 49.31 kB / 0.9328 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6413, allocations: 76 kB / 0.9329 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.6438, allocations: 1.234 MB / 0.9341 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6439, allocations: 3.938 kB / 0.9341 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.6439, allocations: 28 kB / 0.9341 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.644, allocations: 29.31 kB / 0.9341 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.6471, allocations: 1.197 MB / 0.9353 GB, free: 10.62 MB / 0.7637 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.005489/0.6525, allocations: 2.707 MB / 0.9379 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.6543, allocations: 0.6781 MB / 0.9386 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/0.6552, allocations: 429.2 kB / 0.939 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.6556, allocations: 136.3 kB / 0.9391 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.6568, allocations: 0.6515 MB / 0.9398 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=57): time 2.515e-06/0.6568, allocations: 0 / 0.9398 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57): time 0.003107/0.6599, allocations: 1.258 MB / 0.941 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.66, allocations: 140.9 kB / 0.9411 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.6615, allocations: 0.8878 MB / 0.942 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.6616, allocations: 37.7 kB / 0.942 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.662, allocations: 464.6 kB / 0.9425 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.6622, allocations: 198.3 kB / 0.9427 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.6625, allocations: 150.2 kB / 0.9428 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6626, allocations: 333.9 kB / 0.9431 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.6639, allocations: 470.7 kB / 0.9436 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.6655, allocations: 0.9784 MB / 0.9445 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.6677, allocations: 0.9373 MB / 0.9454 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.6677, allocations: 0 / 0.9454 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003192/0.6709, allocations: 1.218 MB / 0.9466 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.671, allocations: 45.12 kB / 0.9467 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.671, allocations: 4 kB / 0.9467 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.671, allocations: 8 kB / 0.9467 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009429/0.6719, allocations: 188 kB / 0.9469 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6719, allocations: 4 kB / 0.9469 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.6733, allocations: 215.4 kB / 0.9471 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/0.6734, allocations: 39.98 kB / 0.9471 GB, free: 14.07 MB / 0.7794 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.000497/0.6739, allocations: 331.3 kB / 0.9474 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.6741, allocations: 95.39 kB / 0.9475 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.6762, allocations: 1.015 MB / 0.9485 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.6763, allocations: 4 kB / 0.9485 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6763, allocations: 0 / 0.9485 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6763, allocations: 12.44 kB / 0.9485 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/0.6811, allocations: 2.934 MB / 0.9514 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.6811, allocations: 8 kB / 0.9514 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.6818, allocations: 128 kB / 0.9515 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.6818, allocations: 8 kB / 0.9515 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.6818, allocations: 27.98 kB / 0.9516 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.6818, allocations: 15.92 kB / 0.9516 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.6819, allocations: 12 kB / 0.9516 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.6842, allocations: 1.356 MB / 0.9529 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/0.6848, allocations: 235 kB / 0.9531 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.6849, allocations: 23.94 kB / 0.9532 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6859, allocations: 103.9 kB / 0.9533 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.686, allocations: 67.67 kB / 0.9533 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.6861, allocations: 39.97 kB / 0.9534 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001211/0.6873, allocations: 0.6356 MB / 0.954 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6873, allocations: 3.938 kB / 0.954 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001057/0.6884, allocations: 327.4 kB / 0.9543 GB, free: 6.434 MB / 0.7794 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.000581/0.689, allocations: 326.2 kB / 0.9546 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002521/0.6915, allocations: 1.04 MB / 0.9556 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6915, allocations: 4 kB / 0.9556 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.6925, allocations: 0.5053 MB / 0.9561 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.6944, allocations: 382.7 kB / 0.9565 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.6982, allocations: 2.04 MB / 0.9585 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.6988, allocations: 489.4 kB / 0.9589 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008172/0.6996, allocations: 241.7 kB / 0.9592 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.6998, allocations: 72.47 kB / 0.9592 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.6998, allocations: 0 / 0.9592 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of Templates: time 0.03077/0.7306, allocations: 17.97 MB / 0.9768 GB, free: 15.56 MB / 0.8106 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.392650044988841] Failed to read output from testmodel.py, exit status != 0: 0.7393533838912845 0.753741596 0.117827705 Calling exit ...