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.3113/0.3113, allocations: 55.01 MB / 69.96 MB, free: 8.672 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.001305/0.001305, allocations: 183.5 kB / 83.97 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.898/1.898, allocations: 194.4 MB / 292.3 MB, free: 3.512 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.001904/0.001905, allocations: 119.3 kB / 350.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 8 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1785, allocations: 57.66 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.365, allocations: 341.2 MB / 0.7986 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.366, allocations: 100.2 kB / 0.7987 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9413/2.307, allocations: 281.9 MB / 1.074 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.577e-06/2.307, allocations: 4.219 kB / 1.074 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001496/2.307, allocations: 31.88 kB / 1.074 GB, free: 12.57 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.004005/2.311, allocations: 1.329 MB / 1.075 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/2.311, allocations: 12.03 kB / 1.075 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/2.313, allocations: 210.6 kB / 1.075 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/2.315, allocations: 0.6642 MB / 1.076 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/2.315, allocations: 49.31 kB / 1.076 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/2.315, allocations: 67.94 kB / 1.076 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/2.32, allocations: 1.336 MB / 1.078 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/2.32, allocations: 0 / 1.078 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/2.32, allocations: 28 kB / 1.078 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/2.32, allocations: 19.94 kB / 1.078 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00415/2.324, allocations: 1.116 MB / 1.079 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/2.329, allocations: 3.005 MB / 1.082 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/2.333, allocations: 1.032 MB / 1.083 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/2.334, allocations: 113.2 kB / 1.083 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003539/2.337, allocations: 0.9423 MB / 1.084 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.838e-06/2.337, allocations: 0 / 1.084 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.00767/2.345, allocations: 1.954 MB / 1.086 GB, free: 296 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.382/2.727, allocations: 294.9 kB / 1.086 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/2.729, allocations: 0.7258 MB / 1.087 GB, free: 97.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003253/2.729, allocations: 40.39 kB / 1.087 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/2.73, allocations: 443.8 kB / 1.087 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/2.73, allocations: 100.3 kB / 1.087 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/2.73, allocations: 10.38 kB / 1.087 GB, free: 97.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/2.73, allocations: 334 kB / 1.087 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/2.732, allocations: 446.8 kB / 1.088 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/2.733, allocations: 0.6408 MB / 1.088 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/2.735, allocations: 492.2 kB / 1.089 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/2.735, allocations: 1.844 kB / 1.089 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003483/2.738, allocations: 1.155 MB / 1.09 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003664/2.739, allocations: 1.259 MB / 1.091 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/2.739, allocations: 3.469 kB / 1.091 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/2.739, allocations: 9.594 kB / 1.091 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/2.744, allocations: 0.8214 MB / 1.092 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/2.747, allocations: 2.099 MB / 1.094 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/2.749, allocations: 237.9 kB / 1.094 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/2.749, allocations: 32.98 kB / 1.094 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.749, allocations: 4.625 kB / 1.094 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/2.75, allocations: 0.5955 MB / 1.095 GB, free: 94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/2.75, allocations: 3.219 kB / 1.095 GB, free: 94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/2.75, allocations: 17.09 kB / 1.095 GB, free: 94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/2.751, allocations: 130.5 kB / 1.095 GB, free: 94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/2.751, allocations: 5.812 kB / 1.095 GB, free: 94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/2.752, allocations: 132.3 kB / 1.095 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/2.752, allocations: 25.44 kB / 1.095 GB, free: 93.98 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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.0007499/2.753, allocations: 352 kB / 1.096 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/2.753, allocations: 91.69 kB / 1.096 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/2.756, allocations: 0.9493 MB / 1.097 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/2.756, allocations: 7.797 kB / 1.097 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/2.756, allocations: 3.703 kB / 1.097 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/2.756, allocations: 0 / 1.097 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/2.757, allocations: 0.9019 MB / 1.098 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/2.757, allocations: 6.75 kB / 1.098 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004475/2.761, allocations: 0.7769 MB / 1.098 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/2.761, allocations: 1.062 kB / 1.098 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/2.761, allocations: 18.38 kB / 1.098 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/2.768, allocations: 4.828 MB / 1.103 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/2.768, allocations: 6.938 kB / 1.103 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/2.773, allocations: 1.462 MB / 1.104 GB, free: 89.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/2.773, allocations: 161.2 kB / 1.105 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/2.773, allocations: 13.89 kB / 1.105 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/2.775, allocations: 192.8 kB / 1.105 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/2.775, allocations: 48.52 kB / 1.105 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/2.775, allocations: 21.97 kB / 1.105 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001079/2.776, allocations: 0.5646 MB / 1.105 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.776, allocations: 0 / 1.105 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002225/2.778, allocations: 451.2 kB / 1.106 GB, free: 88.83 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) * Number of clocked states: 0 () * 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.001262/2.779, allocations: 382.4 kB / 1.106 GB, free: 88.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008746/2.788, allocations: 1.933 MB / 1.108 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.788, allocations: 0.9688 kB / 1.108 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009524/2.798, allocations: 1.559 MB / 1.11 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/2.8, allocations: 391.6 kB / 1.11 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/2.805, allocations: 2.15 MB / 1.112 GB, free: 87.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/2.806, allocations: 0.9952 MB / 1.113 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009153/2.807, allocations: 142.5 kB / 1.113 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/2.807, allocations: 68.72 kB / 1.113 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.634e-06/2.807, allocations: 0 / 1.113 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.03035/2.837, allocations: 18.34 MB / 1.131 GB, free: 86.41 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)