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.001485/0.001485, allocations: 110.3 kB / 16.41 MB, free: 6.453 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.001266/0.001266, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8477/0.8477, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 72.12 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1648, allocations: 80.94 MB / 0.6654 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6222/0.787, allocations: 194.5 MB / 0.8553 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.7991, allocations: 6.937 MB / 0.8621 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.8011, allocations: 41.31 kB / 0.8621 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.8036, allocations: 0.7118 MB / 0.8628 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007597/0.8112, allocations: 2.439 MB / 0.8652 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.8153, allocations: 1.43 MB / 0.8666 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005682/0.821, allocations: 2.986 MB / 0.8695 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.8229, allocations: 0.7412 MB / 0.8702 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.8265, allocations: 1.161 MB / 0.8714 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.8285, allocations: 0.7919 MB / 0.8721 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.8288, allocations: 107.9 kB / 0.8723 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.8338, allocations: 2.07 MB / 0.8743 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006685/0.8345, allocations: 370.8 kB / 0.8746 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.8356, allocations: 0.5869 MB / 0.8752 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.8411, allocations: 2.43 MB / 0.8776 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8411, allocations: 0 / 0.8776 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8411, allocations: 3.938 kB / 0.8776 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.8411, allocations: 0 / 0.8776 GB, free: 6.152 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.003936/0.8451, allocations: 1.676 MB / 0.8792 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8451, allocations: 9.109 kB / 0.8792 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.8481, allocations: 0.5416 MB / 0.8797 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.8507, allocations: 1.054 MB / 0.8808 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.8507, allocations: 53.31 kB / 0.8808 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.8509, allocations: 68 kB / 0.8809 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.8535, allocations: 1.109 MB / 0.882 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.8535, allocations: 0 / 0.882 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.8536, allocations: 35.97 kB / 0.882 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.8537, allocations: 33.3 kB / 0.882 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/0.8568, allocations: 1.169 MB / 0.8832 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.863, allocations: 3.167 MB / 0.8863 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.8648, allocations: 0.642 MB / 0.8869 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00084/0.8657, allocations: 398.2 kB / 0.8873 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.8667, allocations: 1.021 MB / 0.8883 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.8679, allocations: 0.5143 MB / 0.8888 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.8679, allocations: 0 / 0.8888 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003296/0.8712, allocations: 1.233 MB / 0.89 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8713, allocations: 140.9 kB / 0.8901 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.8735, allocations: 1.172 MB / 0.8913 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.8737, allocations: 37.7 kB / 0.8913 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.8741, allocations: 449.8 kB / 0.8917 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.8743, allocations: 206.2 kB / 0.8919 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.8746, allocations: 138.2 kB / 0.8921 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8748, allocations: 334 kB / 0.8924 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.8761, allocations: 436.9 kB / 0.8928 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.8776, allocations: 0.5938 MB / 0.8934 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.8798, allocations: 0.9262 MB / 0.8943 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8798, allocations: 3.938 kB / 0.8943 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003327/0.8831, allocations: 1.214 MB / 0.8955 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.8832, allocations: 36.67 kB / 0.8955 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.8832, allocations: 4 kB / 0.8955 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.8832, allocations: 7.938 kB / 0.8955 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.8841, allocations: 192 kB / 0.8957 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.8842, allocations: 11.94 kB / 0.8957 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.8857, allocations: 251.1 kB / 0.896 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/0.8858, allocations: 35.97 kB / 0.896 GB, free: 2.633 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.000613/0.8865, allocations: 327.3 kB / 0.8963 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.8867, allocations: 119.2 kB / 0.8964 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.889, allocations: 0.999 MB / 0.8974 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.889, allocations: 11.92 kB / 0.8974 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.889, allocations: 0 / 0.8974 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.889, allocations: 8 kB / 0.8974 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/0.8943, allocations: 3.154 MB / 0.9005 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.8943, allocations: 4 kB / 0.9005 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.8949, allocations: 124 kB / 0.9006 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.8949, allocations: 8 kB / 0.9006 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.895, allocations: 27.98 kB / 0.9006 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.895, allocations: 19.88 kB / 0.9007 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.895, allocations: 11.94 kB / 0.9007 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.8975, allocations: 1.35 MB / 0.902 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.8981, allocations: 332.1 kB / 0.9023 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.8982, allocations: 23.98 kB / 0.9023 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.8993, allocations: 103.9 kB / 0.9024 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.8994, allocations: 59.7 kB / 0.9025 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/0.8995, allocations: 39.97 kB / 0.9025 GB, free: 11.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001587/0.9011, allocations: 0.8443 MB / 0.9033 GB, free: 10.76 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9011, allocations: 4 kB / 0.9034 GB, free: 10.76 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001126/0.9022, allocations: 303.6 kB / 0.9036 GB, free: 10.46 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.000775/0.903, allocations: 338.7 kB / 0.904 GB, free: 10.13 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.9055, allocations: 0.9782 MB / 0.9049 GB, free: 9.145 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9055, allocations: 0 / 0.9049 GB, free: 9.145 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.9065, allocations: 480.8 kB / 0.9054 GB, free: 8.664 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.9093, allocations: 0.5523 MB / 0.9059 GB, free: 8.125 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.9133, allocations: 2.106 MB / 0.908 GB, free: 5.883 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.9141, allocations: 1.069 MB / 0.909 GB, free: 4.781 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.9145, allocations: 91.41 kB / 0.9091 GB, free: 4.691 MB / 0.67 GB Notification: Performance of SimCode: time 1.443e-06/0.9145, allocations: 0 / 0.9091 GB, free: 4.691 MB / 0.67 GB Notification: Performance of Templates: time 0.03087/0.9454, allocations: 18.89 MB / 0.9276 GB, free: 1.898 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)