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.001161/0.001161, allocations: 104.6 kB / 16.41 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.001096/0.001097, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8008/0.8008, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.16 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6159/0.7759, allocations: 194 MB / 0.8498 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.7865, allocations: 6.937 MB / 0.8566 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.7883, allocations: 47.44 kB / 0.8566 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.7904, allocations: 0.6859 MB / 0.8573 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006366/0.7968, allocations: 2.329 MB / 0.8595 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.8004, allocations: 1.431 MB / 0.8609 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.8046, allocations: 2.986 MB / 0.8639 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.8061, allocations: 0.8955 MB / 0.8647 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.8089, allocations: 1.151 MB / 0.8659 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.8102, allocations: 0.7981 MB / 0.8666 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.8104, allocations: 100 kB / 0.8667 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.8144, allocations: 2.054 MB / 0.8687 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.8149, allocations: 366.9 kB / 0.8691 GB, free: 320 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007678/0.8157, allocations: 0.5909 MB / 0.8697 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.8197, allocations: 2.419 MB / 0.872 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.8197, allocations: 7.984 kB / 0.872 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8197, allocations: 0 / 0.872 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.8197, allocations: 0 / 0.872 GB, free: 13.28 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.003314/0.8231, allocations: 1.625 MB / 0.8736 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8231, allocations: 8.031 kB / 0.8736 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.8258, allocations: 0.5409 MB / 0.8742 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.8281, allocations: 1.042 MB / 0.8752 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.8282, allocations: 49.31 kB / 0.8752 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.8283, allocations: 68 kB / 0.8753 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.8307, allocations: 1.109 MB / 0.8764 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.8307, allocations: 7.938 kB / 0.8764 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.8308, allocations: 24 kB / 0.8764 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.8309, allocations: 33.31 kB / 0.8764 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.8338, allocations: 1.168 MB / 0.8776 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005494/0.8393, allocations: 3.151 MB / 0.8806 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.841, allocations: 0.6904 MB / 0.8813 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007647/0.8418, allocations: 418.1 kB / 0.8817 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008958/0.8427, allocations: 1.033 MB / 0.8827 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009994/0.8437, allocations: 0.5259 MB / 0.8832 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.325e-06/0.8437, allocations: 0 / 0.8832 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002902/0.8466, allocations: 1.221 MB / 0.8844 GB, free: 100 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.8467, allocations: 140.9 kB / 0.8846 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.8486, allocations: 1.184 MB / 0.8857 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/0.8487, allocations: 37.7 kB / 0.8858 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.8491, allocations: 433.5 kB / 0.8862 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.8492, allocations: 197.2 kB / 0.8864 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.8495, allocations: 150.1 kB / 0.8865 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8496, allocations: 326 kB / 0.8868 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.8508, allocations: 440.9 kB / 0.8872 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.8522, allocations: 0.5938 MB / 0.8878 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.8542, allocations: 0.9223 MB / 0.8887 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8543, allocations: 0 / 0.8887 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003119/0.8574, allocations: 1.201 MB / 0.8899 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.8574, allocations: 45.69 kB / 0.8899 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8575, allocations: 0 / 0.8899 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.8575, allocations: 11.94 kB / 0.8899 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.8584, allocations: 192 kB / 0.8901 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8584, allocations: 4 kB / 0.8901 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.8599, allocations: 238.9 kB / 0.8904 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.86, allocations: 31.98 kB / 0.8904 GB, free: 9.801 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.0005354/0.8605, allocations: 336.1 kB / 0.8907 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8607, allocations: 118.6 kB / 0.8908 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.8629, allocations: 0.988 MB / 0.8918 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.8629, allocations: 7.938 kB / 0.8918 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8629, allocations: 4 kB / 0.8918 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.8629, allocations: 3.984 kB / 0.8918 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.8677, allocations: 3.154 MB / 0.8949 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.8677, allocations: 8 kB / 0.8949 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.8683, allocations: 116 kB / 0.895 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.8683, allocations: 15.94 kB / 0.895 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.8684, allocations: 31.97 kB / 0.8951 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.8684, allocations: 15.92 kB / 0.8951 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.8684, allocations: 11.94 kB / 0.8951 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.8706, allocations: 1.342 MB / 0.8964 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.8711, allocations: 331.4 kB / 0.8967 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8713, allocations: 23.94 kB / 0.8967 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8723, allocations: 103.9 kB / 0.8968 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.8724, allocations: 59.75 kB / 0.8969 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.8725, allocations: 47.97 kB / 0.8969 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001392/0.8739, allocations: 0.8443 MB / 0.8978 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8739, allocations: 0 / 0.8978 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001055/0.875, allocations: 299.8 kB / 0.898 GB, free: 1.648 MB / 0.6544 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.0006719/0.8756, allocations: 342.1 kB / 0.8984 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.878, allocations: 1.013 MB / 0.8994 GB, free: 300 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.878, allocations: 8.125 kB / 0.8994 GB, free: 292 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.879, allocations: 0.5085 MB / 0.8999 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.8816, allocations: 0.5549 MB / 0.9004 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.8852, allocations: 2.077 MB / 0.9024 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.8858, allocations: 1.061 MB / 0.9035 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.8862, allocations: 95.33 kB / 0.9036 GB, free: 11.85 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.8862, allocations: 0 / 0.9036 GB, free: 11.85 MB / 0.67 GB Notification: Performance of Templates: time 0.02795/0.9142, allocations: 18.95 MB / 0.9221 GB, free: 9.016 MB / 0.6856 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)