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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3954/0.3954, allocations: 55.01 MB / 69.96 MB, free: 8.637 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001285/0.001284, allocations: 187.6 kB / 83.98 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.245/2.245, allocations: 194.4 MB / 292.3 MB, free: 3.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001966/0.001966, allocations: 120.1 kB / 350.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006378, allocations: 16 kB / 418.9 MB, free: 36.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1662, allocations: 57.65 MB / 476.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.292, allocations: 338.4 MB / 0.7958 GB, free: 90.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.293, allocations: 92.45 kB / 0.7959 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6749/1.968, allocations: 163.5 MB / 0.9555 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/1.968, allocations: 3.938 kB / 0.9555 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.122e-05/1.968, allocations: 18.81 kB / 0.9555 GB, free: 133.4 MB / 0.4948 GB 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.002188/1.97, allocations: 0.8438 MB / 0.9564 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.97, allocations: 8.031 kB / 0.9564 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/1.971, allocations: 63.28 kB / 0.9564 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/1.972, allocations: 435 kB / 0.9568 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/1.972, allocations: 32.61 kB / 0.9569 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/1.972, allocations: 32 kB / 0.9569 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.973, allocations: 0.5345 MB / 0.9574 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.973, allocations: 0 / 0.9574 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/1.973, allocations: 16 kB / 0.9574 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/1.973, allocations: 11.94 kB / 0.9574 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/1.975, allocations: 394 kB / 0.9578 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/1.977, allocations: 2.042 MB / 0.9598 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.978, allocations: 299.6 kB / 0.9601 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/1.978, allocations: 7.984 kB / 0.9601 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/1.978, allocations: 50.52 kB / 0.9602 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/1.978, allocations: 0 / 0.9602 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.002295/1.981, allocations: 0.5307 MB / 0.9607 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/1.981, allocations: 158.2 kB / 0.9608 GB, free: 128 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/1.982, allocations: 457.9 kB / 0.9613 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/1.982, allocations: 33.7 kB / 0.9613 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/1.982, allocations: 271.7 kB / 0.9616 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/1.982, allocations: 31.56 kB / 0.9616 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.982, allocations: 7.938 kB / 0.9616 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.982, allocations: 358.8 kB / 0.9619 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/1.982, allocations: 139.9 kB / 0.9621 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/1.983, allocations: 303.6 kB / 0.9624 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/1.983, allocations: 187.5 kB / 0.9625 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.983, allocations: 4 kB / 0.9625 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001056/1.984, allocations: 462.8 kB / 0.963 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003659/1.985, allocations: 1.172 MB / 0.9641 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.985, allocations: 0 / 0.9641 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/1.985, allocations: 8 kB / 0.9641 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/1.985, allocations: 91.88 kB / 0.9642 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.985, allocations: 8.312 kB / 0.9642 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/1.986, allocations: 91.47 kB / 0.9643 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/1.986, allocations: 15.98 kB / 0.9643 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.986, allocations: 4 kB / 0.9643 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004644/1.987, allocations: 261.2 kB / 0.9646 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.987, allocations: 7.984 kB / 0.9646 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/1.987, allocations: 4.375 kB / 0.9646 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/1.987, allocations: 67.91 kB / 0.9647 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.987, allocations: 11.94 kB / 0.9647 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/1.987, allocations: 51.66 kB / 0.9647 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/1.987, allocations: 12 kB / 0.9647 GB, free: 123.8 MB / 0.4948 GB 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0002949/1.988, allocations: 253 kB / 0.965 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.988, allocations: 47.44 kB / 0.965 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008326/1.989, allocations: 285.4 kB / 0.9653 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.989, allocations: 0 / 0.9653 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.989, allocations: 11.94 kB / 0.9653 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.989, allocations: 0 / 0.9653 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/1.99, allocations: 0.6044 MB / 0.9659 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.99, allocations: 0 / 0.9659 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/1.99, allocations: 47.95 kB / 0.9659 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.99, allocations: 3.953 kB / 0.9659 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.99, allocations: 11.98 kB / 0.966 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.99, allocations: 11.25 kB / 0.966 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.99, allocations: 4 kB / 0.966 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/1.991, allocations: 423.9 kB / 0.9664 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/1.991, allocations: 120.5 kB / 0.9665 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/1.991, allocations: 12 kB / 0.9665 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/1.991, allocations: 52.03 kB / 0.9665 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/1.991, allocations: 15.92 kB / 0.9666 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.992, allocations: 8 kB / 0.9666 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003894/1.992, allocations: 354.8 kB / 0.9669 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.992, allocations: 0 / 0.9669 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000918/1.993, allocations: 231.7 kB / 0.9671 GB, free: 121.2 MB / 0.4948 GB 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.001043/1.994, allocations: 415.2 kB / 0.9675 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.995, allocations: 0.5223 MB / 0.968 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.995, allocations: 0 / 0.968 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/1.995, allocations: 123.8 kB / 0.9682 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.997, allocations: 257.1 kB / 0.9684 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/2.001, allocations: 1.466 MB / 0.9698 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/2.002, allocations: 0.835 MB / 0.9706 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005466/2.002, allocations: 96.2 kB / 0.9707 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/2.002, allocations: 39.42 kB / 0.9708 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/2.002, allocations: 0 / 0.9708 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.01919/2.022, allocations: 9.886 MB / 0.9804 GB, free: 107.7 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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)