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.001539/0.001539, allocations: 107 kB / 16.27 MB, free: 5.992 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.001547/0.001548, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3533, allocations: 80.92 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5219/0.8752, allocations: 194 MB / 0.7745 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009226/0.8845, allocations: 6.928 MB / 0.7813 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.8859, allocations: 45.16 kB / 0.7813 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.8875, allocations: 0.687 MB / 0.782 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.893, allocations: 2.336 MB / 0.7842 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.8961, allocations: 1.409 MB / 0.7856 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.8999, allocations: 2.989 MB / 0.7885 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.9012, allocations: 0.8884 MB / 0.7894 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.9039, allocations: 1.138 MB / 0.7905 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.9052, allocations: 0.7889 MB / 0.7913 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.9053, allocations: 108 kB / 0.7914 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.9092, allocations: 2.051 MB / 0.7934 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.9096, allocations: 363.1 kB / 0.7937 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007348/0.9104, allocations: 0.5936 MB / 0.7943 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.914, allocations: 2.388 MB / 0.7967 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.914, allocations: 0.9062 kB / 0.7967 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.914, allocations: 0 / 0.7967 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.914, allocations: 0.9062 kB / 0.7967 GB, free: 1.113 MB / 0.5762 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.003184/0.9172, allocations: 1.633 MB / 0.7982 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9172, allocations: 11.77 kB / 0.7983 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.92, allocations: 0.5385 MB / 0.7988 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.9219, allocations: 0.9829 MB / 0.7997 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.923, allocations: 276.9 kB / 0.8 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.9231, allocations: 66.09 kB / 0.8001 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.9254, allocations: 1.124 MB / 0.8012 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.9254, allocations: 0 / 0.8012 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.9255, allocations: 33.47 kB / 0.8012 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.9255, allocations: 30.55 kB / 0.8012 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.9284, allocations: 1.207 MB / 0.8024 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.9336, allocations: 3.212 MB / 0.8055 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.9351, allocations: 0.6908 MB / 0.8062 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.9358, allocations: 420.6 kB / 0.8066 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.9369, allocations: 1.028 MB / 0.8076 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.9378, allocations: 0.5128 MB / 0.8081 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.064e-06/0.9378, allocations: 0 / 0.8081 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002758/0.9406, allocations: 1.221 MB / 0.8093 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.9407, allocations: 145.8 kB / 0.8095 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.9424, allocations: 1.2 MB / 0.8106 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/0.9425, allocations: 43.27 kB / 0.8107 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.9429, allocations: 434.1 kB / 0.8111 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.943, allocations: 191.5 kB / 0.8113 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.9433, allocations: 150.4 kB / 0.8114 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9435, allocations: 326.6 kB / 0.8117 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.9448, allocations: 457.3 kB / 0.8122 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.9462, allocations: 0.6167 MB / 0.8128 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.9482, allocations: 0.9419 MB / 0.8137 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.9483, allocations: 6.094 kB / 0.8137 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003175/0.9514, allocations: 1.236 MB / 0.8149 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.9515, allocations: 37.66 kB / 0.8149 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.9515, allocations: 6.469 kB / 0.8149 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9515, allocations: 5.812 kB / 0.8149 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.9525, allocations: 204.8 kB / 0.8151 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9525, allocations: 7.688 kB / 0.8151 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.9541, allocations: 272.4 kB / 0.8154 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.9542, allocations: 39.59 kB / 0.8154 GB, free: 11.78 MB / 0.5919 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.0005205/0.9547, allocations: 325.6 kB / 0.8158 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.9549, allocations: 116 kB / 0.8159 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.9569, allocations: 0.9916 MB / 0.8168 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.9569, allocations: 10.19 kB / 0.8168 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.957, allocations: 0 / 0.8168 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.957, allocations: 11.72 kB / 0.8169 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.9617, allocations: 3.159 MB / 0.8199 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.9617, allocations: 4.938 kB / 0.8199 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.9622, allocations: 125.7 kB / 0.8201 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.9623, allocations: 8.156 kB / 0.8201 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.9623, allocations: 23.94 kB / 0.8201 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.9623, allocations: 11.88 kB / 0.8201 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9623, allocations: 13.22 kB / 0.8201 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.9645, allocations: 1.346 MB / 0.8214 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.965, allocations: 325.4 kB / 0.8217 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.9652, allocations: 25.39 kB / 0.8218 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.9663, allocations: 115.2 kB / 0.8219 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9664, allocations: 62.3 kB / 0.8219 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.9665, allocations: 42.31 kB / 0.822 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001632/0.9681, allocations: 0.8741 MB / 0.8228 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9681, allocations: 0 / 0.8228 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001007/0.9692, allocations: 299.4 kB / 0.8231 GB, free: 8.035 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 (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.0006951/0.9699, allocations: 348.9 kB / 0.8234 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.9724, allocations: 1.056 MB / 0.8245 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9724, allocations: 0 / 0.8245 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009151/0.9733, allocations: 0.513 MB / 0.825 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.976, allocations: 0.5559 MB / 0.8255 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.9798, allocations: 2.092 MB / 0.8276 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/0.9807, allocations: 1.069 MB / 0.8286 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.981, allocations: 83.41 kB / 0.8287 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.981, allocations: 0 / 0.8287 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of Templates: time 0.03027/1.011, allocations: 18.74 MB / 0.847 GB, free: 1.664 MB / 0.6075 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)