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.0013/0.0013, allocations: 115.4 kB / 17.09 MB, free: 5.988 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.001374/0.001374, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.753/0.753, allocations: 122.9 MB / 414.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.14 kB / 0.5691 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1293, allocations: 77.93 MB / 0.6452 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5006/0.6299, allocations: 194 MB / 0.8347 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.6446, allocations: 6.936 MB / 0.8414 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.6463, allocations: 51.28 kB / 0.8415 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.6486, allocations: 0.7014 MB / 0.8422 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007602/0.6562, allocations: 2.446 MB / 0.8446 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.6604, allocations: 1.425 MB / 0.8459 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004644/0.6651, allocations: 3.003 MB / 0.8489 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.6669, allocations: 0.8924 MB / 0.8497 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.6701, allocations: 1.152 MB / 0.8509 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.6721, allocations: 0.8069 MB / 0.8517 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.6724, allocations: 100.2 kB / 0.8518 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.6778, allocations: 2.066 MB / 0.8538 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.6784, allocations: 376.3 kB / 0.8541 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.6796, allocations: 0.582 MB / 0.8547 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.6846, allocations: 2.387 MB / 0.857 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6847, allocations: 0 / 0.857 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6847, allocations: 0 / 0.857 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-05/0.6847, allocations: 4 kB / 0.857 GB, free: 3.148 MB / 0.6075 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.006064/0.6908, allocations: 1.633 MB / 0.8586 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.6909, allocations: 12.62 kB / 0.8586 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.6954, allocations: 0.5293 MB / 0.8592 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.6989, allocations: 1.041 MB / 0.8602 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.6991, allocations: 53.25 kB / 0.8602 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.6993, allocations: 75.98 kB / 0.8603 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/0.7033, allocations: 1.097 MB / 0.8614 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.7034, allocations: 7.938 kB / 0.8614 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.7035, allocations: 27.94 kB / 0.8614 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/0.7036, allocations: 33.3 kB / 0.8614 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004807/0.7084, allocations: 1.157 MB / 0.8626 GB, free: 13.35 MB / 0.6231 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.008472/0.7169, allocations: 3.166 MB / 0.8657 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.7196, allocations: 0.6919 MB / 0.8663 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.7209, allocations: 419.7 kB / 0.8667 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.7222, allocations: 1.029 MB / 0.8677 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.7239, allocations: 0.5143 MB / 0.8682 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 3.136e-06/0.7239, allocations: 0 / 0.8682 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004846/0.7288, allocations: 1.225 MB / 0.8694 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.7289, allocations: 136.9 kB / 0.8696 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.7319, allocations: 1.18 MB / 0.8707 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.7321, allocations: 41.64 kB / 0.8708 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.7326, allocations: 437.4 kB / 0.8712 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.7329, allocations: 197.2 kB / 0.8714 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/0.7333, allocations: 142.1 kB / 0.8715 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7335, allocations: 322 kB / 0.8718 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.7356, allocations: 444.9 kB / 0.8722 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.7377, allocations: 0.5938 MB / 0.8728 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.741, allocations: 0.9262 MB / 0.8737 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.741, allocations: 3.938 kB / 0.8737 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004928/0.7459, allocations: 1.193 MB / 0.8749 GB, free: 196 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.746, allocations: 41.98 kB / 0.8749 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.746, allocations: 4 kB / 0.8749 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.746, allocations: 8 kB / 0.8749 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.7475, allocations: 187.7 kB / 0.8751 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.7475, allocations: 7.984 kB / 0.8751 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.7499, allocations: 238.9 kB / 0.8753 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.75, allocations: 39.97 kB / 0.8754 GB, free: 15.67 MB / 0.6387 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.0006928/0.7507, allocations: 327.3 kB / 0.8757 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.7511, allocations: 118.6 kB / 0.8758 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/0.7545, allocations: 0.9931 MB / 0.8768 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.7546, allocations: 0 / 0.8768 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7546, allocations: 0 / 0.8768 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007986/0.7554, allocations: 319.3 kB / 0.8771 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.7557, allocations: 19.98 kB / 0.8771 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.7573, allocations: 96.42 kB / 0.8772 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7575, allocations: 36.33 kB / 0.8772 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003753/0.7612, allocations: 1.22 MB / 0.8784 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003099/0.7643, allocations: 1.283 MB / 0.8797 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/0.7654, allocations: 419.3 kB / 0.8801 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001753/0.7672, allocations: 0.8482 MB / 0.8809 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of Backend: time 3.71e-07/0.7672, allocations: 0 / 0.8809 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004155/0.7713, allocations: 1.183 MB / 0.8821 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003797/0.7751, allocations: 2.338 MB / 0.8843 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of Templates: time 0.03983/0.815, allocations: 26.75 MB / 0.9105 GB, free: 11.76 MB / 0.67 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)