Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7324/0.7324, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 64.81 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4008, allocations: 80.21 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2127/0.6135, allocations: 194 MB / 0.7695 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.6248, allocations: 6.933 MB / 0.7763 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.6269, allocations: 47.69 kB / 0.7764 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.629, allocations: 0.6791 MB / 0.777 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.6354, allocations: 2.33 MB / 0.7793 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.6386, allocations: 1.409 MB / 0.7807 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003829/0.6425, allocations: 2.982 MB / 0.7836 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6438, allocations: 0.8918 MB / 0.7845 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.6465, allocations: 1.133 MB / 0.7856 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.6477, allocations: 0.7998 MB / 0.7863 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.6479, allocations: 100 kB / 0.7864 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.6518, allocations: 2.05 MB / 0.7884 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.6522, allocations: 362.9 kB / 0.7888 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007234/0.653, allocations: 0.5908 MB / 0.7894 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003771/0.6567, allocations: 2.392 MB / 0.7917 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6568, allocations: 0 / 0.7917 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6568, allocations: 0 / 0.7917 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.6568, allocations: 0 / 0.7917 GB, free: 8.094 MB / 0.6231 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.003236/0.66, allocations: 1.625 MB / 0.7933 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6601, allocations: 11.97 kB / 0.7933 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.663, allocations: 0.5332 MB / 0.7938 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.665, allocations: 0.9869 MB / 0.7948 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/0.6662, allocations: 269.1 kB / 0.795 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.6663, allocations: 71.94 kB / 0.7951 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.6688, allocations: 1.132 MB / 0.7962 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.6689, allocations: 0 / 0.7962 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.669, allocations: 31.94 kB / 0.7962 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.669, allocations: 29.3 kB / 0.7963 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.6723, allocations: 1.203 MB / 0.7974 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00641/0.6787, allocations: 3.228 MB / 0.8006 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.6805, allocations: 0.6802 MB / 0.8013 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.6813, allocations: 426.2 kB / 0.8017 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008867/0.6822, allocations: 1.021 MB / 0.8027 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009986/0.6832, allocations: 0.5143 MB / 0.8032 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 3.106e-06/0.6832, allocations: 0 / 0.8032 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.00308/0.6863, allocations: 1.225 MB / 0.8044 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.6864, allocations: 136.9 kB / 0.8045 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.6887, allocations: 1.204 MB / 0.8057 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.6888, allocations: 37.7 kB / 0.8057 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.6891, allocations: 433.4 kB / 0.8061 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.6893, allocations: 193.2 kB / 0.8063 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.6896, allocations: 150 kB / 0.8064 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6897, allocations: 338 kB / 0.8068 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.691, allocations: 456.9 kB / 0.8072 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.6925, allocations: 0.6171 MB / 0.8078 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.6947, allocations: 0.9418 MB / 0.8087 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6947, allocations: 0 / 0.8087 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003544/0.6983, allocations: 1.241 MB / 0.8099 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.6984, allocations: 37.69 kB / 0.81 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6984, allocations: 7.938 kB / 0.81 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6984, allocations: 4 kB / 0.81 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6995, allocations: 199.9 kB / 0.8102 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.6995, allocations: 11.98 kB / 0.8102 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.7014, allocations: 262.9 kB / 0.8104 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.7015, allocations: 39.97 kB / 0.8105 GB, free: 4.188 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.0006373/0.7021, allocations: 332.7 kB / 0.8108 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.7025, allocations: 114.6 kB / 0.8109 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.7047, allocations: 0.9995 MB / 0.8119 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.7048, allocations: 8 kB / 0.8119 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7048, allocations: 0 / 0.8119 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.7048, allocations: 0 / 0.8119 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2677/0.9725, allocations: 3.158 MB / 0.815 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/0.9726, allocations: 7.531 kB / 0.815 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.9732, allocations: 122.5 kB / 0.8151 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.9732, allocations: 14.47 kB / 0.8151 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.9733, allocations: 23.38 kB / 0.8151 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-05/0.9733, allocations: 12.61 kB / 0.8151 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.9733, allocations: 13.33 kB / 0.8152 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.9756, allocations: 1.34 MB / 0.8165 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.9761, allocations: 323 kB / 0.8168 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9763, allocations: 28.55 kB / 0.8168 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9775, allocations: 109.1 kB / 0.8169 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.9776, allocations: 64.2 kB / 0.817 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.9777, allocations: 38.58 kB / 0.817 GB, free: 219 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001659/0.9793, allocations: 0.8706 MB / 0.8179 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9794, allocations: 1.25 kB / 0.8179 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0011/0.9805, allocations: 297 kB / 0.8181 GB, free: 218.6 MB / 0.6387 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.0007133/0.9812, allocations: 347.9 kB / 0.8185 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.9838, allocations: 1.049 MB / 0.8195 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.9838, allocations: 2.734 kB / 0.8195 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.9848, allocations: 0.5098 MB / 0.82 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.9877, allocations: 0.5535 MB / 0.8205 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.9916, allocations: 2.065 MB / 0.8226 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.9923, allocations: 1.072 MB / 0.8236 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001282/0.9936, allocations: 272.2 kB / 0.8239 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.9939, allocations: 83.67 kB / 0.8239 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.9939, allocations: 0 / 0.8239 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.03254/1.026, allocations: 22.06 MB / 0.8455 GB, free: 206.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)