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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 189.4 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 207.6 MB / 232.8 MB, free: 2.828 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4981/0.4981, allocations: 55.68 MB / 340.7 MB, free: 11.5 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "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.002304/0.002304, allocations: 72.52 kB / 482 MB, free: 36.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1657, allocations: 62.88 MB / 0.5321 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6755/0.8413, allocations: 192.9 MB / 0.7205 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.8527, allocations: 5.465 MB / 0.7259 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.8546, allocations: 54 kB / 0.7259 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003143/0.8578, allocations: 0.9875 MB / 0.7269 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.8648, allocations: 2.086 MB / 0.7289 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.8688, allocations: 1.444 MB / 0.7303 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006344/0.8752, allocations: 3.886 MB / 0.7341 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.8772, allocations: 0.937 MB / 0.735 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.882, allocations: 1.703 MB / 0.7367 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.885, allocations: 1.237 MB / 0.7379 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.8854, allocations: 163.9 kB / 0.7381 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.8884, allocations: 1.185 MB / 0.7392 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007567/0.8892, allocations: 0.5647 MB / 0.7398 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.8907, allocations: 0.8557 MB / 0.7406 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.8954, allocations: 2.907 MB / 0.7434 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.8954, allocations: 0 / 0.7434 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8954, allocations: 0 / 0.7434 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.626e-05/0.8954, allocations: 0 / 0.7434 GB, free: 2.172 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.005146/0.9006, allocations: 1.954 MB / 0.7453 GB, free: 176 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.9006, allocations: 8.031 kB / 0.7454 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.904, allocations: 0.5532 MB / 0.7459 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.9067, allocations: 1.076 MB / 0.7469 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.9068, allocations: 82.11 kB / 0.747 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.907, allocations: 100 kB / 0.7471 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.9109, allocations: 1.713 MB / 0.7488 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.9109, allocations: 4 kB / 0.7488 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.9111, allocations: 59.98 kB / 0.7489 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.986e-05/0.9111, allocations: 53.92 kB / 0.7489 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/0.9153, allocations: 1.585 MB / 0.7505 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.9255, allocations: 6.042 MB / 0.7564 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.9274, allocations: 0.6132 MB / 0.757 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008689/0.9282, allocations: 345.9 kB / 0.7573 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.9283, allocations: 16.3 kB / 0.7573 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.9298, allocations: 0.7382 MB / 0.758 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=51): time 3.226e-06/0.9299, allocations: 0 / 0.758 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51): time 0.003515/0.9334, allocations: 1.187 MB / 0.7592 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006271/0.934, allocations: 0.927 MB / 0.7601 GB, free: 380 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.937, allocations: 1.587 MB / 0.7616 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.9372, allocations: 41.7 kB / 0.7617 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.9378, allocations: 0.6502 MB / 0.7623 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.9381, allocations: 182.5 kB / 0.7625 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004904/0.9386, allocations: 246.4 kB / 0.7627 GB, free: 13.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.9388, allocations: 337.9 kB / 0.763 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.9403, allocations: 0.4938 MB / 0.7635 GB, free: 12.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.9426, allocations: 1.019 MB / 0.7645 GB, free: 11.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/0.9453, allocations: 1.217 MB / 0.7657 GB, free: 10.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.9453, allocations: 11.94 kB / 0.7657 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004183/0.9495, allocations: 1.517 MB / 0.7672 GB, free: 8.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.9496, allocations: 40.17 kB / 0.7672 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9496, allocations: 15.94 kB / 0.7673 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.9496, allocations: 16 kB / 0.7673 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.9509, allocations: 263.5 kB / 0.7675 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/0.9509, allocations: 15.94 kB / 0.7675 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.9532, allocations: 326.6 kB / 0.7678 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.9533, allocations: 43.98 kB / 0.7679 GB, free: 7.977 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.0007601/0.9541, allocations: 425 kB / 0.7683 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.9544, allocations: 159 kB / 0.7684 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.9547, allocations: 149.5 kB / 0.7686 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9548, allocations: 8 kB / 0.7686 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9548, allocations: 0 / 0.7686 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.9548, allocations: 3.984 kB / 0.7686 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/0.96, allocations: 3.296 MB / 0.7718 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.96, allocations: 8.094 kB / 0.7718 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.9606, allocations: 115.8 kB / 0.7719 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.9606, allocations: 8 kB / 0.7719 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.9607, allocations: 22.61 kB / 0.772 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/0.9607, allocations: 15.94 kB / 0.772 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.9607, allocations: 15.94 kB / 0.772 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.9633, allocations: 1.227 MB / 0.7732 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.9642, allocations: 314.8 kB / 0.7735 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.9644, allocations: 27.98 kB / 0.7735 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.9659, allocations: 119.9 kB / 0.7736 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.966, allocations: 51.75 kB / 0.7737 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.9661, allocations: 31.98 kB / 0.7737 GB, free: 1.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00223/0.9683, allocations: 1.111 MB / 0.7748 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.9683, allocations: 0 / 0.7748 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001324/0.9696, allocations: 375.7 kB / 0.7752 GB, free: 248 kB / 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.0005369/0.9702, allocations: 218.8 kB / 0.7754 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002965/0.9731, allocations: 1.084 MB / 0.7764 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9731, allocations: 4 kB / 0.7764 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009344/0.9741, allocations: 443.5 kB / 0.7769 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/0.9778, allocations: 0.7978 MB / 0.7776 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.982, allocations: 2.346 MB / 0.7799 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.983, allocations: 1.156 MB / 0.781 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00134/0.9843, allocations: 343 kB / 0.7814 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.9847, allocations: 107.4 kB / 0.7815 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/0.9847, allocations: 0 / 0.7815 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.05745/1.042, allocations: 31.21 MB / 0.812 GB, free: 10.53 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9953338373452425] Failed to read output from testmodel.py, exit status != 0: 1.0510841673240066 1.0671281910000001 0.168272321 Calling exit ...