Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.005735/0.005735, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001233/0.001233, allocations: 193.3 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4141/0.4141, allocations: 54.94 MB / 324.8 MB, free: 100 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 66.83 kB / 456.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 59.6 MB / 0.5037 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5319/0.6479, allocations: 193.8 MB / 0.693 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009518/0.6575, allocations: 5.471 MB / 0.6984 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.6592, allocations: 37.94 kB / 0.6984 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.6619, allocations: 0.9341 MB / 0.6993 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.6678, allocations: 1.984 MB / 0.7013 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.6713, allocations: 1.417 MB / 0.7027 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.6761, allocations: 3.83 MB / 0.7064 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.6777, allocations: 1.136 MB / 0.7075 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.6814, allocations: 1.625 MB / 0.7091 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.6834, allocations: 1.16 MB / 0.7102 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003876/0.6838, allocations: 158.1 kB / 0.7104 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.6871, allocations: 1.401 MB / 0.7117 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006627/0.6877, allocations: 0.534 MB / 0.7123 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.6888, allocations: 0.8567 MB / 0.7131 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.6922, allocations: 2.937 MB / 0.716 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6922, allocations: 2.75 kB / 0.716 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6922, allocations: 0 / 0.716 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.6923, allocations: 0 / 0.716 GB, free: 5.387 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.00441/0.6967, allocations: 1.975 MB / 0.7179 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6967, allocations: 7.875 kB / 0.7179 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.6999, allocations: 0.5554 MB / 0.7185 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.7023, allocations: 1.142 MB / 0.7196 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.7024, allocations: 79 kB / 0.7196 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.7026, allocations: 106.8 kB / 0.7197 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.7062, allocations: 1.714 MB / 0.7214 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.7062, allocations: 9.75 kB / 0.7214 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.7064, allocations: 47.75 kB / 0.7215 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/0.7064, allocations: 52.11 kB / 0.7215 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.7102, allocations: 1.589 MB / 0.7231 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009139/0.7193, allocations: 6.097 MB / 0.729 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.7212, allocations: 0.6516 MB / 0.7297 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/0.7221, allocations: 377.8 kB / 0.73 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.7221, allocations: 10.8 kB / 0.73 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.7236, allocations: 0.7344 MB / 0.7308 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=51): time 3.316e-06/0.7237, allocations: 0 / 0.7308 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51): time 0.002978/0.7266, allocations: 1.192 MB / 0.7319 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003691/0.727, allocations: 0.927 MB / 0.7328 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.7296, allocations: 1.579 MB / 0.7344 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.7297, allocations: 45.7 kB / 0.7344 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.7302, allocations: 0.6345 MB / 0.735 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.7304, allocations: 190.5 kB / 0.7352 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.7308, allocations: 242.3 kB / 0.7354 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.731, allocations: 341.9 kB / 0.7358 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.7323, allocations: 0.4938 MB / 0.7362 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.7342, allocations: 1.014 MB / 0.7372 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.7368, allocations: 1.219 MB / 0.7384 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.7369, allocations: 3.938 kB / 0.7384 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003978/0.7408, allocations: 1.507 MB / 0.7399 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.7409, allocations: 45.72 kB / 0.7399 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.7409, allocations: 12 kB / 0.74 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.741, allocations: 12 kB / 0.74 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7422, allocations: 259.6 kB / 0.7402 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.7422, allocations: 19.92 kB / 0.7402 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.7445, allocations: 314.1 kB / 0.7405 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.7446, allocations: 51.97 kB / 0.7406 GB, free: 14.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (105): * Single equations (assignments): 104 * 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.0007035/0.7453, allocations: 422.3 kB / 0.741 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.7456, allocations: 154.2 kB / 0.7411 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.7459, allocations: 145.5 kB / 0.7413 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.7459, allocations: 11.98 kB / 0.7413 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.7459, allocations: 0 / 0.7413 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.746, allocations: 4 kB / 0.7413 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/0.7509, allocations: 3.317 MB / 0.7445 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7509, allocations: 12.03 kB / 0.7445 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.7515, allocations: 111.8 kB / 0.7446 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.7515, allocations: 8 kB / 0.7447 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.7516, allocations: 19.98 kB / 0.7447 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.7516, allocations: 19.98 kB / 0.7447 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7516, allocations: 7.938 kB / 0.7447 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.754, allocations: 1.207 MB / 0.7459 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/0.7549, allocations: 391 kB / 0.7463 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.7551, allocations: 27.94 kB / 0.7463 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.7566, allocations: 119.9 kB / 0.7464 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.7567, allocations: 59.7 kB / 0.7464 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.7568, allocations: 27.98 kB / 0.7465 GB, free: 8.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001963/0.7588, allocations: 1.114 MB / 0.7476 GB, free: 7.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7588, allocations: 0 / 0.7476 GB, free: 7.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001367/0.7601, allocations: 376.1 kB / 0.7479 GB, free: 7.082 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (46): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.0006043/0.7608, allocations: 224 kB / 0.7481 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.7634, allocations: 1.137 MB / 0.7492 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.7635, allocations: 4 kB / 0.7493 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/0.7643, allocations: 485.3 kB / 0.7497 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/0.7678, allocations: 0.7777 MB / 0.7505 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.7715, allocations: 2.308 MB / 0.7527 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.7723, allocations: 1.163 MB / 0.7539 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001395/0.7738, allocations: 339 kB / 0.7542 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.774, allocations: 99.41 kB / 0.7543 GB, free: 420 kB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.7741, allocations: 3.938 kB / 0.7543 GB, free: 416 kB / 0.545 GB Notification: Performance of Templates: time 0.04798/0.822, allocations: 30.27 MB / 0.7838 GB, free: 2.293 MB / 0.5762 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)