Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3811/0.3811, allocations: 54.41 MB / 61.89 MB, free: 13.75 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.001339/0.001339, allocations: 183.6 kB / 75.61 MB, free: 0.7812 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.38/1.38, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 105.9 kB / 341.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.721e-05/1.71e-05, allocations: 4 kB / 405.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3374, allocations: 57.64 MB / 463.1 MB, free: 51.6 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6248/0.9623, allocations: 340.5 MB / 0.7848 GB, free: 1.102 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.9625, allocations: 89.39 kB / 0.7849 GB, free: 1.059 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153/2.116, allocations: 278.7 MB / 1.057 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.894e-06/2.116, allocations: 2.062 kB / 1.057 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.618e-05/2.116, allocations: 29.78 kB / 1.057 GB, free: 102.3 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002447/2.118, allocations: 1.186 MB / 1.058 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/2.118, allocations: 13.27 kB / 1.058 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/2.119, allocations: 206 kB / 1.058 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/2.121, allocations: 0.6618 MB / 1.059 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/2.121, allocations: 19.88 kB / 1.059 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/2.121, allocations: 39.41 kB / 1.059 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009323/2.122, allocations: 415.7 kB / 1.06 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/2.123, allocations: 0.6059 MB / 1.06 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/2.123, allocations: 2.438 kB / 1.06 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/2.123, allocations: 6.938 kB / 1.06 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/2.123, allocations: 20.59 kB / 1.06 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/2.127, allocations: 2.848 MB / 1.063 GB, free: 99.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/2.128, allocations: 342.7 kB / 1.063 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/2.128, allocations: 168.9 kB / 1.063 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/2.129, allocations: 114.4 kB / 1.064 GB, free: 99.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/2.129, allocations: 302.7 kB / 1.064 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/2.129, allocations: 0 / 1.064 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.003698/2.133, allocations: 0.8342 MB / 1.065 GB, free: 99.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/2.133, allocations: 289.6 kB / 1.065 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/2.134, allocations: 0.5709 MB / 1.065 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/2.134, allocations: 37.48 kB / 1.066 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/2.134, allocations: 454.3 kB / 1.066 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/2.134, allocations: 93.33 kB / 1.066 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/2.134, allocations: 1.469 kB / 1.066 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/2.135, allocations: 331.8 kB / 1.066 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/2.135, allocations: 228 kB / 1.067 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/2.135, allocations: 437.8 kB / 1.067 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/2.136, allocations: 250.3 kB / 1.067 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.136, allocations: 1.75 kB / 1.067 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001325/2.137, allocations: 0.6573 MB / 1.068 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004245/2.138, allocations: 1.26 MB / 1.069 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/2.138, allocations: 3.156 kB / 1.069 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/2.138, allocations: 6.688 kB / 1.069 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/2.143, allocations: 0.8614 MB / 1.07 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/2.145, allocations: 2.007 MB / 1.072 GB, free: 94.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/2.146, allocations: 221.2 kB / 1.072 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/2.146, allocations: 32 kB / 1.072 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/2.147, allocations: 4.031 kB / 1.072 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009631/2.147, allocations: 449.5 kB / 1.073 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/2.148, allocations: 3.344 kB / 1.073 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/2.148, allocations: 6.25 kB / 1.073 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/2.148, allocations: 130.5 kB / 1.073 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/2.148, allocations: 6.5 kB / 1.073 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/2.149, allocations: 97.52 kB / 1.073 GB, free: 94.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/2.149, allocations: 27.91 kB / 1.073 GB, free: 94.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003322/2.15, allocations: 155 kB / 1.073 GB, free: 94.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/2.15, allocations: 85.81 kB / 1.073 GB, free: 94.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/2.151, allocations: 492.1 kB / 1.074 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/2.151, allocations: 3.031 kB / 1.074 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/2.151, allocations: 3.125 kB / 1.074 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/2.151, allocations: 10.22 kB / 1.074 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/2.152, allocations: 0.8314 MB / 1.074 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/2.153, allocations: 3.562 kB / 1.074 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004139/2.157, allocations: 0.7726 MB / 1.075 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/2.157, allocations: 3.438 kB / 1.075 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/2.157, allocations: 17.55 kB / 1.075 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004473/2.161, allocations: 4.227 MB / 1.079 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.161, allocations: 0.5625 kB / 1.079 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/2.163, allocations: 0.7848 MB / 1.08 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/2.163, allocations: 149.3 kB / 1.08 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/2.164, allocations: 10.27 kB / 1.08 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/2.165, allocations: 185.5 kB / 1.08 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/2.165, allocations: 40.89 kB / 1.08 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/2.165, allocations: 19.91 kB / 1.08 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006174/2.166, allocations: 442.3 kB / 1.081 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.6e-07/2.166, allocations: 3.812 kB / 1.081 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001713/2.167, allocations: 447.2 kB / 1.081 GB, free: 90 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/2.168, allocations: 388.6 kB / 1.082 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00519/2.174, allocations: 1.508 MB / 1.083 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/2.174, allocations: 0 / 1.083 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006471/2.18, allocations: 1.344 MB / 1.084 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/2.182, allocations: 291 kB / 1.085 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/2.186, allocations: 1.301 MB / 1.086 GB, free: 89.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/2.187, allocations: 0.9938 MB / 1.087 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001161/2.188, allocations: 183.4 kB / 1.087 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/2.188, allocations: 55.17 kB / 1.087 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of SimCode: time 2.225e-06/2.188, allocations: 0 / 1.087 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.02782/2.216, allocations: 16.21 MB / 1.103 GB, free: 87.93 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)