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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.47 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 168.6 kB / 16.58 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7022/0.7022, allocations: 115.5 MB / 407.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004662, allocations: 12.16 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 77.54 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4251/0.5844, allocations: 176.6 MB / 0.7318 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009509/0.5939, allocations: 6.558 MB / 0.7382 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.595, allocations: 39.69 kB / 0.7382 GB, free: 56 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.5963, allocations: 476.8 kB / 0.7387 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.6005, allocations: 1.676 MB / 0.7403 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.6033, allocations: 1.083 MB / 0.7414 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004005/0.6073, allocations: 3.215 MB / 0.7445 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.6084, allocations: 0.6787 MB / 0.7452 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.6101, allocations: 0.9414 MB / 0.7461 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.6111, allocations: 0.739 MB / 0.7468 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.6112, allocations: 44 kB / 0.7468 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.614, allocations: 1.216 MB / 0.748 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.6143, allocations: 302.9 kB / 0.7483 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.6146, allocations: 237.1 kB / 0.7485 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.6165, allocations: 1.609 MB / 0.7501 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6166, allocations: 0 / 0.7501 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6166, allocations: 11.94 kB / 0.7501 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.6166, allocations: 0 / 0.7501 GB, free: 3.832 MB / 0.5606 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.003008/0.6196, allocations: 1.388 MB / 0.7515 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6197, allocations: 11.97 kB / 0.7515 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.6224, allocations: 0.6073 MB / 0.7521 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.6244, allocations: 0.9536 MB / 0.753 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/0.6255, allocations: 321 kB / 0.7533 GB, free: 472 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.6256, allocations: 68 kB / 0.7534 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.6281, allocations: 1.152 MB / 0.7545 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6281, allocations: 3.984 kB / 0.7545 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.6282, allocations: 28 kB / 0.7545 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.6282, allocations: 33.3 kB / 0.7546 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.6313, allocations: 1.25 MB / 0.7558 GB, free: 13.9 MB / 0.5762 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.005595/0.6369, allocations: 3.248 MB / 0.759 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.6386, allocations: 0.7017 MB / 0.7597 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.6394, allocations: 423.8 kB / 0.7601 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/0.6403, allocations: 1.021 MB / 0.7611 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009891/0.6413, allocations: 0.5299 MB / 0.7616 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.6413, allocations: 0 / 0.7616 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=57): time 0.002829/0.6441, allocations: 1.232 MB / 0.7628 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.6442, allocations: 144.8 kB / 0.7629 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.6461, allocations: 1.215 MB / 0.7641 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.6462, allocations: 37.7 kB / 0.7641 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.6466, allocations: 441.5 kB / 0.7646 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.6467, allocations: 185.3 kB / 0.7647 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.6468, allocations: 12 kB / 0.7647 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6469, allocations: 326 kB / 0.7651 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.6482, allocations: 488.9 kB / 0.7655 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.6495, allocations: 0.6367 MB / 0.7661 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.6508, allocations: 0.5346 MB / 0.7667 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6509, allocations: 0 / 0.7667 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002991/0.6539, allocations: 1.283 MB / 0.7679 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.6539, allocations: 37.7 kB / 0.768 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6539, allocations: 7.938 kB / 0.768 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.654, allocations: 8.094 kB / 0.768 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/0.6549, allocations: 216 kB / 0.7682 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.655, allocations: 12.56 kB / 0.7682 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.6564, allocations: 306.8 kB / 0.7685 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.6565, allocations: 35.98 kB / 0.7685 GB, free: 396 kB / 0.5762 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 ($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.0005093/0.657, allocations: 327.3 kB / 0.7688 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6572, allocations: 118.6 kB / 0.7689 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.6594, allocations: 1 MB / 0.7699 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6594, allocations: 15.89 kB / 0.7699 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6594, allocations: 0 / 0.7699 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6594, allocations: 7.984 kB / 0.7699 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.6642, allocations: 3.177 MB / 0.773 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6642, allocations: 8 kB / 0.7731 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.6648, allocations: 128.2 kB / 0.7732 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.6648, allocations: 12 kB / 0.7732 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.6649, allocations: 24 kB / 0.7732 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.6649, allocations: 15.92 kB / 0.7732 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.6649, allocations: 15.94 kB / 0.7732 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.6671, allocations: 1.364 MB / 0.7746 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.6676, allocations: 327.4 kB / 0.7749 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.6677, allocations: 20 kB / 0.7749 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6688, allocations: 127.9 kB / 0.775 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.6689, allocations: 63.77 kB / 0.7751 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.669, allocations: 35.94 kB / 0.7751 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001536/0.6706, allocations: 0.8833 MB / 0.776 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6706, allocations: 0 / 0.776 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001053/0.6716, allocations: 295.8 kB / 0.7763 GB, free: 8.129 MB / 0.5919 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.0006444/0.6723, allocations: 342.9 kB / 0.7766 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.6746, allocations: 1.056 MB / 0.7776 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6746, allocations: 0 / 0.7776 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008943/0.6755, allocations: 0.5203 MB / 0.7781 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.6781, allocations: 0.5285 MB / 0.7786 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.6817, allocations: 2.283 MB / 0.7809 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.6823, allocations: 1.069 MB / 0.7819 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001094/0.6834, allocations: 282.9 kB / 0.7822 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.6837, allocations: 79.41 kB / 0.7823 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6837, allocations: 3.938 kB / 0.7823 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.03142/0.7151, allocations: 20.59 MB / 0.8024 GB, free: 13.47 MB / 0.6231 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)