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.001237/0.001237, allocations: 114.6 kB / 17.09 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 189.6 kB / 18.02 MB, free: 5.09 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.211/1.211, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6542/0.6542, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 66.7 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4317/0.5412, allocations: 194 MB / 0.8222 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007798/0.549, allocations: 6.939 MB / 0.829 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.5495, allocations: 47.09 kB / 0.829 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.5509, allocations: 0.6858 MB / 0.8297 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.5547, allocations: 2.347 MB / 0.832 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5573, allocations: 1.416 MB / 0.8333 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002665/0.56, allocations: 2.994 MB / 0.8363 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.5609, allocations: 0.8864 MB / 0.8371 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.5627, allocations: 1.16 MB / 0.8383 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009559/0.5636, allocations: 0.792 MB / 0.839 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.5638, allocations: 98.84 kB / 0.8391 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.5665, allocations: 2.064 MB / 0.8412 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.5668, allocations: 366.6 kB / 0.8415 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.5673, allocations: 0.5896 MB / 0.8421 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.5696, allocations: 2.389 MB / 0.8444 GB, free: 192 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5696, allocations: 0 / 0.8444 GB, free: 192 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5696, allocations: 3.938 kB / 0.8444 GB, free: 188 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.5697, allocations: 2.719 kB / 0.8444 GB, free: 188 kB / 0.5919 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.00288/0.5725, allocations: 1.624 MB / 0.846 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5726, allocations: 10.19 kB / 0.846 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.5754, allocations: 0.544 MB / 0.8465 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.5773, allocations: 1.032 MB / 0.8476 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.5774, allocations: 55.75 kB / 0.8476 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5775, allocations: 67.56 kB / 0.8477 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.5797, allocations: 1.102 MB / 0.8487 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5797, allocations: 3.938 kB / 0.8487 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.5798, allocations: 34.83 kB / 0.8488 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.5798, allocations: 30.33 kB / 0.8488 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.5827, allocations: 1.164 MB / 0.8499 GB, free: 12.3 MB / 0.6075 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.004936/0.5877, allocations: 3.165 MB / 0.853 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.5892, allocations: 0.6841 MB / 0.8537 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.59, allocations: 426.2 kB / 0.8541 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007952/0.5908, allocations: 1.02 MB / 0.8551 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000951/0.5918, allocations: 0.5182 MB / 0.8556 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.114e-06/0.5918, allocations: 0 / 0.8556 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002749/0.5945, allocations: 1.219 MB / 0.8568 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.5946, allocations: 140.9 kB / 0.8569 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.5963, allocations: 1.176 MB / 0.8581 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.5964, allocations: 45.64 kB / 0.8581 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.5967, allocations: 441.5 kB / 0.8586 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5969, allocations: 190.4 kB / 0.8587 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.5971, allocations: 142 kB / 0.8589 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5972, allocations: 334 kB / 0.8592 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5984, allocations: 436.9 kB / 0.8596 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.5998, allocations: 0.5938 MB / 0.8602 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.6018, allocations: 0.9301 MB / 0.8611 GB, free: 408 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6018, allocations: 8 kB / 0.8611 GB, free: 400 kB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002901/0.6047, allocations: 1.197 MB / 0.8623 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.6047, allocations: 37.69 kB / 0.8623 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.6047, allocations: 4 kB / 0.8623 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6048, allocations: 4 kB / 0.8623 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/0.6057, allocations: 192 kB / 0.8625 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.6057, allocations: 5.484 kB / 0.8625 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.6071, allocations: 250.8 kB / 0.8627 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.6072, allocations: 39.97 kB / 0.8628 GB, free: 14.65 MB / 0.6231 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.00041/0.6076, allocations: 326 kB / 0.8631 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.6078, allocations: 114.6 kB / 0.8632 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.6098, allocations: 0.9883 MB / 0.8642 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6099, allocations: 3.984 kB / 0.8642 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6099, allocations: 8 kB / 0.8642 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.6103, allocations: 327.2 kB / 0.8645 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6104, allocations: 12 kB / 0.8645 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.6114, allocations: 91.89 kB / 0.8646 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.6115, allocations: 40.39 kB / 0.8646 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00211/0.6136, allocations: 1.206 MB / 0.8658 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001905/0.6155, allocations: 1.293 MB / 0.8671 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007503/0.6163, allocations: 411.6 kB / 0.8675 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001327/0.6176, allocations: 0.8482 MB / 0.8683 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of Backend: time 2.41e-07/0.6176, allocations: 0 / 0.8683 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003202/0.6208, allocations: 1.201 MB / 0.8695 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003382/0.6242, allocations: 2.323 MB / 0.8717 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of Templates: time 0.03742/0.6617, allocations: 26.74 MB / 0.8978 GB, free: 10.84 MB / 0.6544 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)