Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 184.5 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205 MB / 0.6353 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009215/0.0009219, allocations: 93.64 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 59.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2655, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6364/0.9019, allocations: 191.7 MB / 1.169 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.9121, allocations: 6.941 MB / 1.176 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.9137, allocations: 41.34 kB / 1.176 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.9154, allocations: 0.5682 MB / 1.177 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.9213, allocations: 2.142 MB / 1.179 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.9246, allocations: 1.283 MB / 1.18 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004695/0.9294, allocations: 3.699 MB / 1.184 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.9311, allocations: 0.7586 MB / 1.184 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.9336, allocations: 0.9925 MB / 1.185 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.9363, allocations: 0.8147 MB / 1.186 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.9367, allocations: 47.16 kB / 1.186 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005195/0.9419, allocations: 2.225 MB / 1.188 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006238/0.9425, allocations: 324.6 kB / 1.189 GB, free: 392 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.9439, allocations: 0.554 MB / 1.189 GB, free: 56 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.9489, allocations: 2.435 MB / 1.192 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9489, allocations: 0 / 1.192 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9489, allocations: 0 / 1.192 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.35e-05/0.949, allocations: 0 / 1.192 GB, free: 15.22 MB / 0.7917 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.005621/0.9546, allocations: 1.662 MB / 1.193 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.9547, allocations: 9.156 kB / 1.193 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.9578, allocations: 0.5371 MB / 1.194 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.9605, allocations: 0.9896 MB / 1.195 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.9618, allocations: 282.3 kB / 1.195 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.962, allocations: 67.12 kB / 1.195 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.9651, allocations: 1.151 MB / 1.196 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.9651, allocations: 3.938 kB / 1.196 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.9652, allocations: 26.78 kB / 1.196 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/0.9653, allocations: 30.5 kB / 1.196 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.969, allocations: 1.277 MB / 1.198 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006657/0.9757, allocations: 2.924 MB / 1.2 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.9776, allocations: 0.7186 MB / 1.201 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.9785, allocations: 441.5 kB / 1.202 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00091/0.9795, allocations: 1.026 MB / 1.203 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.9806, allocations: 0.5346 MB / 1.203 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=59): time 3.517e-06/0.9806, allocations: 1.219 kB / 1.203 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59): time 0.003466/0.9841, allocations: 1.269 MB / 1.204 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.9842, allocations: 121.4 kB / 1.204 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.9866, allocations: 1.189 MB / 1.206 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.9867, allocations: 38.77 kB / 1.206 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.9871, allocations: 443.4 kB / 1.206 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.9873, allocations: 200.6 kB / 1.206 GB, free: 7.648 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/0.9877, allocations: 150.7 kB / 1.206 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9878, allocations: 330.2 kB / 1.207 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.9893, allocations: 474.9 kB / 1.207 GB, free: 7.133 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.9909, allocations: 0.6195 MB / 1.208 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.9933, allocations: 0.9657 MB / 1.209 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9933, allocations: 1.469 kB / 1.209 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003822/0.9971, allocations: 1.261 MB / 1.21 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.9972, allocations: 37.33 kB / 1.21 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.9972, allocations: 3.688 kB / 1.21 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.9973, allocations: 5.5 kB / 1.21 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.9983, allocations: 208.5 kB / 1.21 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.9983, allocations: 5.047 kB / 1.21 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1, allocations: 271.9 kB / 1.21 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1, allocations: 39.5 kB / 1.21 GB, free: 5.793 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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.0006067/1.001, allocations: 334.3 kB / 1.211 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/1.001, allocations: 115.2 kB / 1.211 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/1.004, allocations: 1.051 MB / 1.212 GB, free: 5.051 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.004, allocations: 9.219 kB / 1.212 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.004, allocations: 1.344 kB / 1.212 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.004, allocations: 12.52 kB / 1.212 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/1.01, allocations: 3.213 MB / 1.215 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/1.01, allocations: 6.781 kB / 1.215 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/1.011, allocations: 129.4 kB / 1.215 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/1.011, allocations: 10.75 kB / 1.215 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/1.011, allocations: 26.3 kB / 1.215 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-05/1.011, allocations: 16.66 kB / 1.215 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/1.011, allocations: 12.22 kB / 1.215 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004419/1.016, allocations: 2.571 MB / 1.218 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000898/1.017, allocations: 339.8 kB / 1.218 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/1.017, allocations: 27.09 kB / 1.218 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.018, allocations: 111.2 kB / 1.218 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.018, allocations: 62.36 kB / 1.218 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.019, allocations: 46.88 kB / 1.218 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002089/1.021, allocations: 0.8622 MB / 1.219 GB, free: 1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.51e-07/1.021, allocations: 4 kB / 1.219 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001426/1.022, allocations: 310.3 kB / 1.219 GB, free: 0.9414 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * 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.0008954/1.023, allocations: 333 kB / 1.22 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002915/1.026, allocations: 1.056 MB / 1.221 GB, free: 392 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.026, allocations: 0.9062 kB / 1.221 GB, free: 392 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.027, allocations: 0.5332 MB / 1.221 GB, free: 152 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.03, allocations: 0.5348 MB / 1.222 GB, free: 12 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/1.037, allocations: 2.789 MB / 1.225 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.038, allocations: 1.085 MB / 1.226 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001506/1.039, allocations: 287.8 kB / 1.226 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/1.04, allocations: 84.97 kB / 1.226 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of SimCode: time 6.22e-07/1.04, allocations: 0 / 1.226 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.04488/1.084, allocations: 22 MB / 1.247 GB, free: 3.438 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)