Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001074/0.001074, allocations: 177.3 kB / 15.94 MB, free: 228 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.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4035/0.4035, allocations: 54.97 MB / 325.3 MB, free: 0.707 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.0005145/0.0005146, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2984, allocations: 60.71 MB / 457.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01231/0.3108, allocations: 14.71 MB / 472 MB, free: 31.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.3185, allocations: 6.109 MB / 478.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.319, allocations: 12.69 kB / 478.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3201, allocations: 287.1 kB / 478.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.3216, allocations: 476.5 kB / 478.9 MB, free: 27.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.3257, allocations: 1.483 MB / 480.4 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.3267, allocations: 0.6274 MB / 481 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.3272, allocations: 283.7 kB / 481.3 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.3278, allocations: 382.6 kB / 481.6 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.3281, allocations: 254 kB / 481.9 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.3282, allocations: 17.88 kB / 481.9 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007392/0.3289, allocations: 404.7 kB / 482.3 MB, free: 25.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.329, allocations: 125.7 kB / 482.4 MB, free: 25.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.3291, allocations: 127.9 kB / 482.6 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.3297, allocations: 0.5943 MB / 483.2 MB, free: 25.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3297, allocations: 0 / 483.2 MB, free: 25.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3297, allocations: 4 kB / 483.2 MB, free: 25.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3297, allocations: 3.125 kB / 483.2 MB, free: 25.36 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001043/0.3308, allocations: 0.7979 MB / 484 MB, free: 24.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3308, allocations: 8.844 kB / 484 MB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.3311, allocations: 77.61 kB / 484 MB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.3317, allocations: 441.7 kB / 484.5 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3317, allocations: 25.66 kB / 484.5 MB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.3318, allocations: 41.08 kB / 484.5 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.3327, allocations: 495.6 kB / 485 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3328, allocations: 0 / 485 MB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.3328, allocations: 11 kB / 485 MB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.3328, allocations: 15.97 kB / 485 MB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/0.3337, allocations: 347.9 kB / 485.4 MB, free: 24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.3356, allocations: 2.213 MB / 487.6 MB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.3362, allocations: 219.3 kB / 487.8 MB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.3373, allocations: 0.92 MB / 488.7 MB, free: 21.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3374, allocations: 40.91 kB / 488.8 MB, free: 21.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3374, allocations: 0 / 488.8 MB, free: 21.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00134/0.3387, allocations: 398.7 kB / 489.2 MB, free: 21.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3388, allocations: 113.5 kB / 489.3 MB, free: 21.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.3394, allocations: 0.6405 MB / 489.9 MB, free: 20.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3394, allocations: 32.33 kB / 489.9 MB, free: 20.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3396, allocations: 319.4 kB / 490.3 MB, free: 20.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3396, allocations: 44.03 kB / 490.3 MB, free: 20.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.3396, allocations: 6.625 kB / 490.3 MB, free: 20.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.3397, allocations: 364.5 kB / 490.7 MB, free: 20.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.34, allocations: 116.8 kB / 490.8 MB, free: 20.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.3404, allocations: 304 kB / 491.1 MB, free: 19.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3407, allocations: 152.5 kB / 491.2 MB, free: 19.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3407, allocations: 0 / 491.2 MB, free: 19.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008073/0.3415, allocations: 438.2 kB / 491.7 MB, free: 19.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.3419, allocations: 1.667 MB / 493.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3419, allocations: 7.031 kB / 493.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3419, allocations: 8.938 kB / 493.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.3423, allocations: 102.7 kB / 493.4 MB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3423, allocations: 9.594 kB / 493.4 MB, free: 17.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.3427, allocations: 80.52 kB / 493.5 MB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.3428, allocations: 16.25 kB / 493.5 MB, free: 17.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.3428, allocations: 2.938 kB / 493.5 MB, free: 17.74 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004837/0.3433, allocations: 291.8 kB / 493.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3433, allocations: 5.219 kB / 493.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.3433, allocations: 10 kB / 493.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.3436, allocations: 75.41 kB / 493.9 MB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3436, allocations: 14.14 kB / 493.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.3439, allocations: 56.02 kB / 494 MB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.344, allocations: 12.75 kB / 494 MB, free: 17.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * 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.0002162/0.3442, allocations: 271.9 kB / 494.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.3443, allocations: 52.47 kB / 494.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.345, allocations: 264.2 kB / 494.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.345, allocations: 1.375 kB / 494.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.345, allocations: 7.891 kB / 494.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.345, allocations: 0 / 494.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.3455, allocations: 395.4 kB / 495 MB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3455, allocations: 3.938 kB / 495 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.3457, allocations: 42.7 kB / 495 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3457, allocations: 2 kB / 495 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3457, allocations: 1.906 kB / 495 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3458, allocations: 1.828 kB / 495 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3458, allocations: 2.328 kB / 495 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.3467, allocations: 442.9 kB / 495.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3468, allocations: 141.9 kB / 495.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.3469, allocations: 10.12 kB / 495.6 MB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.3472, allocations: 35.08 kB / 495.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3473, allocations: 6.938 kB / 495.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3473, allocations: 8.25 kB / 495.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004775/0.3478, allocations: 460.3 kB / 496.1 MB, free: 16.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3478, allocations: 0 / 496.1 MB, free: 16.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007965/0.3486, allocations: 240.7 kB / 496.3 MB, free: 16.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * 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.0009446/0.3496, allocations: 431.1 kB / 496.8 MB, free: 16.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3506, allocations: 427.2 kB / 497.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3506, allocations: 0 / 497.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.3509, allocations: 89.2 kB / 497.3 MB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.3522, allocations: 279.8 kB / 497.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3554, allocations: 1.373 MB / 498.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3557, allocations: 0.8638 MB / 499.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.3562, allocations: 104.4 kB / 499.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3563, allocations: 40.8 kB / 499.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.3563, allocations: 5 kB / 499.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Templates: time 0.02179/0.3781, allocations: 9.932 MB / 0.4979 GB, free: 13.34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: