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.001239/0.001239, allocations: 111.2 kB / 16.38 MB, free: 5.945 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.001284/0.001284, allocations: 196.9 kB / 17.32 MB, free: 5.582 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7224/0.7224, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 61.55 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4793/0.6046, allocations: 194 MB / 0.8547 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009492/0.6142, allocations: 6.93 MB / 0.8615 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.6156, allocations: 47.53 kB / 0.8615 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.6172, allocations: 0.6942 MB / 0.8622 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.6224, allocations: 2.323 MB / 0.8645 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.6254, allocations: 1.436 MB / 0.8659 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.629, allocations: 2.986 MB / 0.8688 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.6303, allocations: 0.8912 MB / 0.8697 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.6327, allocations: 1.143 MB / 0.8708 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.6339, allocations: 0.7922 MB / 0.8716 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.6341, allocations: 100 kB / 0.8716 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.6374, allocations: 2.054 MB / 0.8737 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.6378, allocations: 374.9 kB / 0.874 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.6384, allocations: 0.5869 MB / 0.8746 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.6417, allocations: 2.415 MB / 0.8769 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6418, allocations: 0 / 0.8769 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6418, allocations: 0 / 0.8769 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.6418, allocations: 0 / 0.8769 GB, free: 6.602 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.003093/0.6449, allocations: 1.637 MB / 0.8785 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6449, allocations: 13.11 kB / 0.8786 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.6477, allocations: 0.5293 MB / 0.8791 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.6496, allocations: 1.038 MB / 0.8801 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.6497, allocations: 57.25 kB / 0.8801 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6498, allocations: 71.98 kB / 0.8802 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.652, allocations: 1.112 MB / 0.8813 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6521, allocations: 0 / 0.8813 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.6522, allocations: 28 kB / 0.8813 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.6522, allocations: 25.31 kB / 0.8813 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.655, allocations: 1.168 MB / 0.8825 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/0.6608, allocations: 3.156 MB / 0.8856 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.6625, allocations: 0.6862 MB / 0.8862 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.6634, allocations: 433.3 kB / 0.8866 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000921/0.6643, allocations: 1.021 MB / 0.8876 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/0.6653, allocations: 0.5104 MB / 0.8881 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.6653, allocations: 8 kB / 0.8882 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.002835/0.6681, allocations: 1.224 MB / 0.8893 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.6682, allocations: 144.9 kB / 0.8895 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.67, allocations: 1.172 MB / 0.8906 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.6702, allocations: 41.7 kB / 0.8907 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.6705, allocations: 433.4 kB / 0.8911 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.6707, allocations: 193.2 kB / 0.8913 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.6709, allocations: 146.1 kB / 0.8914 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.671, allocations: 334 kB / 0.8917 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.6722, allocations: 436.9 kB / 0.8921 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6735, allocations: 0.5976 MB / 0.8927 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.6755, allocations: 0.9223 MB / 0.8936 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6755, allocations: 4 kB / 0.8936 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002914/0.6784, allocations: 1.193 MB / 0.8948 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.6785, allocations: 41.69 kB / 0.8948 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6785, allocations: 4 kB / 0.8948 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6785, allocations: 11.88 kB / 0.8949 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.6794, allocations: 184.1 kB / 0.895 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.6794, allocations: 11.94 kB / 0.895 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6808, allocations: 241.4 kB / 0.8953 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.6809, allocations: 39.98 kB / 0.8953 GB, free: 3.125 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.0004895/0.6814, allocations: 329.6 kB / 0.8956 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6816, allocations: 114.6 kB / 0.8957 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.6837, allocations: 0.9909 MB / 0.8967 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6837, allocations: 11.94 kB / 0.8967 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6837, allocations: 0 / 0.8967 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6838, allocations: 3.984 kB / 0.8967 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.6883, allocations: 3.166 MB / 0.8998 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.6883, allocations: 8 kB / 0.8998 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.6889, allocations: 115.8 kB / 0.8999 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.6889, allocations: 20.17 kB / 0.8999 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.689, allocations: 20 kB / 0.9 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/0.689, allocations: 15.98 kB / 0.9 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.689, allocations: 11.94 kB / 0.9 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.6911, allocations: 1.337 MB / 0.9013 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.6916, allocations: 331.4 kB / 0.9016 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.6918, allocations: 24 kB / 0.9016 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6929, allocations: 107.9 kB / 0.9017 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.6931, allocations: 55.7 kB / 0.9018 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.6931, allocations: 39.97 kB / 0.9018 GB, free: 12.12 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001464/0.6946, allocations: 0.8482 MB / 0.9027 GB, free: 11.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6946, allocations: 0 / 0.9027 GB, free: 11.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00109/0.6957, allocations: 303.8 kB / 0.9029 GB, free: 10.97 MB / 0.67 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.0007164/0.6964, allocations: 346.1 kB / 0.9033 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.6988, allocations: 1.017 MB / 0.9043 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6988, allocations: 4.125 kB / 0.9043 GB, free: 9.602 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/0.6997, allocations: 0.5124 MB / 0.9048 GB, free: 9.078 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.7024, allocations: 0.5554 MB / 0.9053 GB, free: 8.535 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.7059, allocations: 2.069 MB / 0.9073 GB, free: 6.336 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.7066, allocations: 1.065 MB / 0.9084 GB, free: 5.238 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.7069, allocations: 91.39 kB / 0.9085 GB, free: 5.148 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.7069, allocations: 0 / 0.9085 GB, free: 5.148 MB / 0.67 GB Notification: Performance of Templates: time 0.02534/0.7323, allocations: 18.68 MB / 0.9267 GB, free: 2.566 MB / 0.6856 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)