Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001161/0.001165, allocations: 110.9 kB / 16.42 MB, free: 6.492 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 / 17.35 MB, free: 5.762 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.208/1.208, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7194/0.7194, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 67.11 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1161, allocations: 80.92 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4395/0.5556, allocations: 194 MB / 0.8548 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00861/0.5642, allocations: 6.931 MB / 0.8615 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.5649, allocations: 43.41 kB / 0.8616 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.5662, allocations: 0.7085 MB / 0.8623 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.5702, allocations: 2.424 MB / 0.8646 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.5727, allocations: 1.431 MB / 0.866 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.5756, allocations: 3 MB / 0.869 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.5767, allocations: 0.8979 MB / 0.8698 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.5787, allocations: 1.158 MB / 0.871 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.5797, allocations: 0.7905 MB / 0.8717 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.5798, allocations: 99.98 kB / 0.8718 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.5827, allocations: 2.066 MB / 0.8739 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.583, allocations: 374.9 kB / 0.8742 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.5836, allocations: 0.5869 MB / 0.8748 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.5862, allocations: 2.419 MB / 0.8772 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5862, allocations: 0 / 0.8772 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5862, allocations: 0 / 0.8772 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.5862, allocations: 0 / 0.8772 GB, free: 6.473 MB / 0.6387 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.002916/0.5891, allocations: 1.64 MB / 0.8788 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.5892, allocations: 9.109 kB / 0.8788 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/0.592, allocations: 0.5332 MB / 0.8793 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.594, allocations: 1.044 MB / 0.8803 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.594, allocations: 57.31 kB / 0.8804 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5942, allocations: 71.98 kB / 0.8804 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.5963, allocations: 1.101 MB / 0.8815 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5963, allocations: 4 kB / 0.8815 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.5964, allocations: 24 kB / 0.8815 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.5965, allocations: 33.3 kB / 0.8816 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.5993, allocations: 1.161 MB / 0.8827 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.6041, allocations: 3.16 MB / 0.8858 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.6057, allocations: 0.6918 MB / 0.8865 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.6064, allocations: 429.3 kB / 0.8869 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.6072, allocations: 1.021 MB / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000925/0.6081, allocations: 0.5143 MB / 0.8884 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 1.834e-06/0.6081, allocations: 0 / 0.8884 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.002668/0.6108, allocations: 1.228 MB / 0.8896 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.6109, allocations: 136.8 kB / 0.8897 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.6125, allocations: 1.176 MB / 0.8908 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/0.6126, allocations: 37.7 kB / 0.8909 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.6129, allocations: 441.4 kB / 0.8913 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.6131, allocations: 189.2 kB / 0.8915 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.6133, allocations: 146.1 kB / 0.8916 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6135, allocations: 330 kB / 0.8919 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.6146, allocations: 436.9 kB / 0.8924 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.616, allocations: 0.5958 MB / 0.8929 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.6179, allocations: 0.9262 MB / 0.8938 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.618, allocations: 0 / 0.8938 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002821/0.6208, allocations: 1.197 MB / 0.895 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.6208, allocations: 37.69 kB / 0.895 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6208, allocations: 7.938 kB / 0.8951 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6209, allocations: 8 kB / 0.8951 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/0.6218, allocations: 195.9 kB / 0.8952 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6218, allocations: 8 kB / 0.8953 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.6231, allocations: 242.9 kB / 0.8955 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.6232, allocations: 36.52 kB / 0.8955 GB, free: 2.996 MB / 0.6544 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.0003862/0.6236, allocations: 323.8 kB / 0.8958 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.6237, allocations: 118.6 kB / 0.8959 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.6257, allocations: 0.991 MB / 0.8969 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6257, allocations: 7.969 kB / 0.8969 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6257, allocations: 3.984 kB / 0.8969 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.6262, allocations: 323.3 kB / 0.8972 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.6263, allocations: 16 kB / 0.8972 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.6273, allocations: 91.89 kB / 0.8973 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.6273, allocations: 40.33 kB / 0.8974 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002092/0.6295, allocations: 1.208 MB / 0.8986 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001872/0.6313, allocations: 1.291 MB / 0.8998 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007502/0.6321, allocations: 415.3 kB / 0.9002 GB, free: 14.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00131/0.6334, allocations: 0.8482 MB / 0.901 GB, free: 13.23 MB / 0.67 GB Notification: Performance of Backend: time 5.71e-07/0.6334, allocations: 3.938 kB / 0.901 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.6365, allocations: 1.194 MB / 0.9022 GB, free: 12.03 MB / 0.67 GB Notification: Performance of SimCode: time 0.003301/0.6398, allocations: 2.342 MB / 0.9045 GB, free: 9.629 MB / 0.67 GB Notification: Performance of Templates: time 0.03541/0.6752, allocations: 26.72 MB / 0.9306 GB, free: 15.08 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)