Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3511/0.3511, allocations: 54.33 MB / 66.89 MB, free: 6.09 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.0009807/0.0009808, allocations: 175.7 kB / 80.7 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.526/1.526, allocations: 194.2 MB / 288.6 MB, free: 14.99 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.00174/0.00174, allocations: 116.1 kB / 346.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.189e-05, allocations: 8 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.025, allocations: 338.5 MB / 0.7896 GB, free: 40.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.025, allocations: 96.25 kB / 0.7897 GB, free: 40.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07/2.095, allocations: 276.2 MB / 1.059 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.184e-06/2.095, allocations: 3.656 kB / 1.059 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.11e-05/2.095, allocations: 21.52 kB / 1.059 GB, free: 103.7 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0016/2.097, allocations: 0.9599 MB / 1.06 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/2.097, allocations: 15.03 kB / 1.06 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008637/2.098, allocations: 177.3 kB / 1.061 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/2.099, allocations: 0.5329 MB / 1.061 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/2.099, allocations: 41.48 kB / 1.061 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/2.099, allocations: 51.84 kB / 1.061 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/2.102, allocations: 0.9549 MB / 1.062 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/2.102, allocations: 0.5625 kB / 1.062 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/2.102, allocations: 20.38 kB / 1.062 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/2.102, allocations: 12.38 kB / 1.062 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/2.105, allocations: 0.7454 MB / 1.063 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/2.108, allocations: 2.641 MB / 1.065 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/2.111, allocations: 0.6259 MB / 1.066 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/2.111, allocations: 71.7 kB / 1.066 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/2.111, allocations: 118.3 kB / 1.066 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/2.111, allocations: 36.44 kB / 1.066 GB, free: 101 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/2.111, allocations: 0 / 1.066 GB, free: 101 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.005185/2.116, allocations: 1.056 MB / 1.067 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/2.116, allocations: 164.5 kB / 1.067 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/2.117, allocations: 0.5764 MB / 1.068 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/2.117, allocations: 40.12 kB / 1.068 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/2.118, allocations: 365.8 kB / 1.068 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/2.118, allocations: 56.81 kB / 1.068 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/2.118, allocations: 12.16 kB / 1.068 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/2.118, allocations: 381.6 kB / 1.069 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/2.118, allocations: 144.3 kB / 1.069 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/2.118, allocations: 317 kB / 1.069 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/2.119, allocations: 173.2 kB / 1.069 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.119, allocations: 1.406 kB / 1.069 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008653/2.12, allocations: 0.4936 MB / 1.07 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/2.12, allocations: 1.135 MB / 1.071 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/2.12, allocations: 6.125 kB / 1.071 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/2.12, allocations: 5.312 kB / 1.071 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/2.124, allocations: 0.808 MB / 1.072 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/2.126, allocations: 1.991 MB / 1.074 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/2.127, allocations: 205.7 kB / 1.074 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/2.128, allocations: 21.38 kB / 1.074 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/2.128, allocations: 3.844 kB / 1.074 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004867/2.128, allocations: 296.8 kB / 1.074 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/2.128, allocations: 6.672 kB / 1.074 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/2.128, allocations: 5.688 kB / 1.074 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/2.128, allocations: 108.6 kB / 1.074 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/2.128, allocations: 11.19 kB / 1.074 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/2.129, allocations: 91.34 kB / 1.074 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/2.129, allocations: 19.05 kB / 1.074 GB, free: 96.83 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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.0001619/2.129, allocations: 133.8 kB / 1.075 GB, free: 96.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/2.129, allocations: 66.19 kB / 1.075 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/2.13, allocations: 300.3 kB / 1.075 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/2.13, allocations: 2.469 kB / 1.075 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/2.13, allocations: 5.25 kB / 1.075 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/2.13, allocations: 1.969 kB / 1.075 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/2.131, allocations: 0.7549 MB / 1.076 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/2.131, allocations: 1.031 kB / 1.076 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003898/2.135, allocations: 0.7693 MB / 1.076 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/2.135, allocations: 1.062 kB / 1.076 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/2.135, allocations: 14.48 kB / 1.076 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004122/2.139, allocations: 4.373 MB / 1.081 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.139, allocations: 3.812 kB / 1.081 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/2.14, allocations: 423 kB / 1.081 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/2.14, allocations: 148.9 kB / 1.081 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/2.14, allocations: 11.27 kB / 1.081 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/2.141, allocations: 165.6 kB / 1.081 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/2.141, allocations: 14.75 kB / 1.081 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/2.141, allocations: 11.19 kB / 1.081 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006576/2.142, allocations: 451.9 kB / 1.082 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/2.142, allocations: 0 / 1.082 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001276/2.143, allocations: 368.6 kB / 1.082 GB, free: 91.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0006145/2.144, allocations: 335.4 kB / 1.083 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004246/2.148, allocations: 1.067 MB / 1.084 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/2.148, allocations: 3.828 kB / 1.084 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006334/2.155, allocations: 1.181 MB / 1.085 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/2.157, allocations: 371.8 kB / 1.085 GB, free: 91.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/2.172, allocations: 3.421 MB / 1.088 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/2.172, allocations: 0.92 MB / 1.089 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009198/2.173, allocations: 170 kB / 1.09 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/2.173, allocations: 48.17 kB / 1.09 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/2.173, allocations: 2.719 kB / 1.09 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.02245/2.196, allocations: 17.35 MB / 1.107 GB, free: 89.88 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)