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.2758/0.2758, allocations: 54.34 MB / 66.89 MB, free: 6.086 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.001046/0.001046, allocations: 182.6 kB / 80.71 MB, free: 15.39 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.519/1.519, allocations: 194.2 MB / 288.6 MB, free: 15.04 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.001652/0.001652, allocations: 111.6 kB / 346.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.941e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.019, allocations: 341.1 MB / 0.7922 GB, free: 37.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.019, allocations: 95.19 kB / 0.7922 GB, free: 37.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187/2.206, allocations: 281 MB / 1.067 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/2.206, allocations: 0 / 1.067 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.879e-05/2.207, allocations: 27.78 kB / 1.067 GB, free: 102.6 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.003194/2.21, allocations: 1.194 MB / 1.068 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/2.21, allocations: 9.094 kB / 1.068 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/2.212, allocations: 206.5 kB / 1.068 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/2.213, allocations: 0.6594 MB / 1.069 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/2.214, allocations: 49.81 kB / 1.069 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/2.214, allocations: 64.47 kB / 1.069 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/2.22, allocations: 1.128 MB / 1.07 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/2.22, allocations: 4.469 kB / 1.07 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/2.22, allocations: 26.16 kB / 1.07 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/2.22, allocations: 15.16 kB / 1.07 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005462/2.225, allocations: 0.865 MB / 1.071 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006545/2.232, allocations: 3.007 MB / 1.074 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004983/2.237, allocations: 0.7542 MB / 1.074 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/2.237, allocations: 171.1 kB / 1.075 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/2.238, allocations: 116.5 kB / 1.075 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004546/2.242, allocations: 0.7222 MB / 1.075 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 4.458e-06/2.242, allocations: 0 / 1.075 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.009627/2.252, allocations: 1.283 MB / 1.077 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/2.252, allocations: 295.2 kB / 1.077 GB, free: 99.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/2.253, allocations: 0.7255 MB / 1.078 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/2.254, allocations: 42.05 kB / 1.078 GB, free: 99.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/2.254, allocations: 445.9 kB / 1.078 GB, free: 98.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/2.254, allocations: 99.03 kB / 1.078 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/2.254, allocations: 10.97 kB / 1.078 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/2.254, allocations: 333.7 kB / 1.079 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/2.255, allocations: 233.3 kB / 1.079 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/2.255, allocations: 445.5 kB / 1.079 GB, free: 98.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/2.256, allocations: 278.3 kB / 1.08 GB, free: 98.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/2.256, allocations: 3.812 kB / 1.08 GB, free: 98.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001431/2.257, allocations: 0.7374 MB / 1.08 GB, free: 98.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003267/2.258, allocations: 1.256 MB / 1.081 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/2.258, allocations: 3.406 kB / 1.081 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/2.258, allocations: 6.875 kB / 1.081 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005345/2.263, allocations: 0.819 MB / 1.082 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/2.265, allocations: 1.993 MB / 1.084 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/2.267, allocations: 246.3 kB / 1.084 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/2.267, allocations: 34.31 kB / 1.084 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/2.267, allocations: 3.969 kB / 1.084 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009307/2.268, allocations: 0.53 MB / 1.085 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/2.268, allocations: 2.156 kB / 1.085 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/2.268, allocations: 10.64 kB / 1.085 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/2.269, allocations: 131.4 kB / 1.085 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/2.269, allocations: 5.969 kB / 1.085 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/2.27, allocations: 132.5 kB / 1.085 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/2.27, allocations: 26.42 kB / 1.085 GB, free: 94.95 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 (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.0002114/2.27, allocations: 179.5 kB / 1.085 GB, free: 94.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/2.27, allocations: 93.06 kB / 1.086 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/2.271, allocations: 0.5378 MB / 1.086 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/2.271, allocations: 7.516 kB / 1.086 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/2.271, allocations: 2.344 kB / 1.086 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/2.271, allocations: 0 / 1.086 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/2.272, allocations: 0.9048 MB / 1.087 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/2.272, allocations: 0 / 1.087 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004106/2.276, allocations: 0.7727 MB / 1.088 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/2.276, allocations: 7.031 kB / 1.088 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/2.276, allocations: 18.5 kB / 1.088 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/2.28, allocations: 4.383 MB / 1.092 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/2.281, allocations: 0 / 1.092 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/2.282, allocations: 0.8503 MB / 1.093 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/2.282, allocations: 172.8 kB / 1.093 GB, free: 90 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/2.282, allocations: 10.22 kB / 1.093 GB, free: 90 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/2.284, allocations: 194.1 kB / 1.093 GB, free: 90 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/2.284, allocations: 39.41 kB / 1.093 GB, free: 90 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/2.284, allocations: 25.69 kB / 1.093 GB, free: 90 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006864/2.284, allocations: 0.5509 MB / 1.094 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.1e-07/2.284, allocations: 0 / 1.094 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001377/2.286, allocations: 450.1 kB / 1.094 GB, free: 89.84 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.0006814/2.287, allocations: 387.8 kB / 1.095 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004568/2.291, allocations: 1.518 MB / 1.096 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.291, allocations: 2.781 kB / 1.096 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006682/2.298, allocations: 1.353 MB / 1.097 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/2.3, allocations: 388.6 kB / 1.098 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/2.304, allocations: 1.342 MB / 1.099 GB, free: 89.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/2.304, allocations: 0.9965 MB / 1.1 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001087/2.305, allocations: 215 kB / 1.1 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/2.305, allocations: 58.88 kB / 1.1 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/2.305, allocations: 3.219 kB / 1.1 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.02964/2.335, allocations: 20.31 MB / 1.12 GB, free: 87.57 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)