Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001262, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001564/0.001564, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3784/0.3784, allocations: 54.98 MB / 325.4 MB, free: 0.6992 MB / 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.0005247/0.0005248, allocations: 23.98 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3156, allocations: 60.72 MB / 457.3 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01168/0.3273, allocations: 13.12 MB / 470.4 MB, free: 32.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.3347, allocations: 5.746 MB / 476.2 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004779/0.3352, allocations: 12.66 kB / 476.2 MB, free: 28.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.3362, allocations: 338.7 kB / 476.5 MB, free: 28.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.3374, allocations: 0.5231 MB / 477 MB, free: 28.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00399/0.3414, allocations: 1.647 MB / 478.7 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000901/0.3424, allocations: 0.6518 MB / 479.3 MB, free: 27.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.3427, allocations: 274.9 kB / 479.6 MB, free: 27.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.3433, allocations: 390 kB / 480 MB, free: 27.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.3436, allocations: 246.8 kB / 480.2 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.3436, allocations: 16.84 kB / 480.3 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.3442, allocations: 356.8 kB / 480.6 MB, free: 26.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/0.3443, allocations: 96.25 kB / 480.7 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.3444, allocations: 118.7 kB / 480.8 MB, free: 26.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.3449, allocations: 0.5084 MB / 481.3 MB, free: 26.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3449, allocations: 8 kB / 481.3 MB, free: 26.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3449, allocations: 6.531 kB / 481.3 MB, free: 26.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3449, allocations: 0 / 481.3 MB, free: 26.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009153/0.3458, allocations: 0.7393 MB / 482.1 MB, free: 26.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3459, allocations: 14.47 kB / 482.1 MB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.3461, allocations: 64.12 kB / 482.2 MB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.3466, allocations: 403 kB / 482.5 MB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.3466, allocations: 23.31 kB / 482.6 MB, free: 25.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.3467, allocations: 38.17 kB / 482.6 MB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.348, allocations: 0.5481 MB / 483.2 MB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3481, allocations: 4.469 kB / 483.2 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3481, allocations: 14.22 kB / 483.2 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3481, allocations: 8.594 kB / 483.2 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3494, allocations: 405 kB / 483.6 MB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3511, allocations: 2.029 MB / 485.6 MB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3522, allocations: 307 kB / 485.9 MB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3522, allocations: 2.938 kB / 485.9 MB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3523, allocations: 41.38 kB / 485.9 MB, free: 23.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3523, allocations: 0 / 485.9 MB, free: 23.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.002193/0.3545, allocations: 0.5411 MB / 486.5 MB, free: 23.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3545, allocations: 161.5 kB / 486.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.355, allocations: 0.5187 MB / 487.2 MB, free: 22.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.355, allocations: 31.86 kB / 487.2 MB, free: 22.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3552, allocations: 281.5 kB / 487.5 MB, free: 22.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3552, allocations: 40.2 kB / 487.5 MB, free: 22.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.3552, allocations: 4 kB / 487.5 MB, free: 22.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.3553, allocations: 356 kB / 487.9 MB, free: 22.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.3557, allocations: 129.3 kB / 488 MB, free: 22.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.3562, allocations: 294 kB / 488.3 MB, free: 22.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.3566, allocations: 154.5 kB / 488.4 MB, free: 22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3566, allocations: 0 / 488.4 MB, free: 22 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009462/0.3576, allocations: 433.6 kB / 488.8 MB, free: 21.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.3578, allocations: 1.134 MB / 490 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3578, allocations: 10.64 kB / 490 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3578, allocations: 3.094 kB / 490 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.3582, allocations: 93.25 kB / 490.1 MB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3582, allocations: 7.359 kB / 490.1 MB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.3587, allocations: 83.14 kB / 490.2 MB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.3588, allocations: 14.06 kB / 490.2 MB, free: 20.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.3588, allocations: 5.594 kB / 490.2 MB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000395/0.3592, allocations: 224.9 kB / 490.4 MB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3592, allocations: 11.97 kB / 490.4 MB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.3592, allocations: 8.719 kB / 490.4 MB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3594, allocations: 56.84 kB / 490.5 MB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3594, allocations: 5.25 kB / 490.5 MB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.3597, allocations: 50.06 kB / 490.5 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3597, allocations: 15.88 kB / 490.6 MB, free: 20.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.3599, allocations: 256.6 kB / 490.8 MB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.36, allocations: 55.22 kB / 490.9 MB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.3608, allocations: 283.6 kB / 491.1 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3608, allocations: 2.625 kB / 491.1 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3608, allocations: 0 / 491.1 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3609, allocations: 7.062 kB / 491.2 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.3614, allocations: 0.5895 MB / 491.7 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3614, allocations: 2.812 kB / 491.7 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3617, allocations: 48.33 kB / 491.8 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3617, allocations: 2.375 kB / 491.8 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3617, allocations: 8.641 kB / 491.8 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3617, allocations: 0 / 491.8 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3618, allocations: 8.703 kB / 491.8 MB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.3626, allocations: 430.7 kB / 492.2 MB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.3627, allocations: 131.6 kB / 492.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.3627, allocations: 2.844 kB / 492.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.3632, allocations: 61.91 kB / 492.4 MB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3633, allocations: 7.172 kB / 492.4 MB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3633, allocations: 6.406 kB / 492.4 MB, free: 19.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.3637, allocations: 367.1 kB / 492.8 MB, free: 19.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3637, allocations: 0 / 492.8 MB, free: 19.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.3644, allocations: 204.8 kB / 493 MB, free: 19.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009088/0.3653, allocations: 424.6 kB / 493.4 MB, free: 18.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3666, allocations: 412.7 kB / 493.8 MB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3666, allocations: 1.25 kB / 493.8 MB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.367, allocations: 121.8 kB / 493.9 MB, free: 18.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.3683, allocations: 246.3 kB / 494.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.3734, allocations: 1.532 MB / 495.7 MB, free: 18.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3737, allocations: 0.8453 MB / 496.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004801/0.3742, allocations: 93.5 kB / 496.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3743, allocations: 40.67 kB / 496.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3743, allocations: 0 / 496.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01739/0.3917, allocations: 8.656 MB / 0.4935 GB, free: 16.83 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: