Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.288/0.288, allocations: 54.34 MB / 66.9 MB, free: 6.082 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.0009808/0.0009808, allocations: 193.6 kB / 80.71 MB, free: 15.38 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.544/1.544, allocations: 194.2 MB / 288.6 MB, free: 14.98 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.00156/0.00156, allocations: 121.4 kB / 346.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 7.984 kB / 412.4 MB, free: 21.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 57.64 MB / 470 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9209/1.038, allocations: 335.8 MB / 0.7869 GB, free: 42.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.038, allocations: 91.75 kB / 0.787 GB, free: 42.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6659/1.704, allocations: 218.3 MB / 1 GB, free: 45.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.422e-06/1.704, allocations: 0 / 1 GB, free: 45.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.359e-05/1.704, allocations: 16 kB / 1 GB, free: 45.79 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001282/1.706, allocations: 0.8603 MB / 1.001 GB, free: 44.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.706, allocations: 8.031 kB / 1.001 GB, free: 44.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/1.708, allocations: 350.9 kB / 1.001 GB, free: 44.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/1.708, allocations: 0.4916 MB / 1.002 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/1.708, allocations: 32.78 kB / 1.002 GB, free: 43.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/1.709, allocations: 47.89 kB / 1.002 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/1.714, allocations: 1.432 MB / 1.003 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.714, allocations: 3.938 kB / 1.003 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/1.714, allocations: 16 kB / 1.003 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/1.714, allocations: 12 kB / 1.003 GB, free: 42.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/1.719, allocations: 1.286 MB / 1.005 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/1.723, allocations: 2.806 MB / 1.007 GB, free: 38.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/1.728, allocations: 1.14 MB / 1.008 GB, free: 36.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/1.728, allocations: 150.5 kB / 1.009 GB, free: 36.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/1.728, allocations: 117.4 kB / 1.009 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.728, allocations: 38.52 kB / 1.009 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 4.578e-06/1.728, allocations: 4 kB / 1.009 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.009832/1.738, allocations: 2.093 MB / 1.011 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.738, allocations: 162.2 kB / 1.011 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/1.739, allocations: 472.8 kB / 1.011 GB, free: 33.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/1.739, allocations: 37.77 kB / 1.011 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/1.739, allocations: 304.2 kB / 1.012 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/1.739, allocations: 74.95 kB / 1.012 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/1.739, allocations: 4 kB / 1.012 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/1.739, allocations: 366.8 kB / 1.012 GB, free: 33.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/1.74, allocations: 232.8 kB / 1.012 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/1.74, allocations: 360.7 kB / 1.013 GB, free: 32.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/1.74, allocations: 215.7 kB / 1.013 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.74, allocations: 4 kB / 1.013 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001045/1.741, allocations: 0.6176 MB / 1.014 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001946/1.742, allocations: 1.055 MB / 1.015 GB, free: 30.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.742, allocations: 4 kB / 1.015 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.742, allocations: 11.95 kB / 1.015 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/1.756, allocations: 2.521 MB / 1.017 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/1.759, allocations: 1.175 MB / 1.018 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.761, allocations: 335.2 kB / 1.019 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/1.761, allocations: 31.91 kB / 1.019 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.761, allocations: 4 kB / 1.019 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000474/1.762, allocations: 299.4 kB / 1.019 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/1.762, allocations: 0 / 1.019 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/1.762, allocations: 8.344 kB / 1.019 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/1.762, allocations: 131.8 kB / 1.019 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/1.762, allocations: 7.953 kB / 1.019 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/1.763, allocations: 99.52 kB / 1.019 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/1.763, allocations: 12 kB / 1.019 GB, free: 25.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/1.763, allocations: 128.9 kB / 1.019 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/1.763, allocations: 55.34 kB / 1.019 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/1.763, allocations: 56.8 kB / 1.019 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.763, allocations: 7.984 kB / 1.019 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.763, allocations: 8 kB / 1.019 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.763, allocations: 7.938 kB / 1.019 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/1.764, allocations: 0.8777 MB / 1.02 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.764, allocations: 3.953 kB / 1.02 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01381/1.778, allocations: 2.478 MB / 1.023 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/1.778, allocations: 0 / 1.023 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.778, allocations: 11.97 kB / 1.023 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.789, allocations: 3.375 MB / 1.026 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.789, allocations: 0 / 1.026 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.79, allocations: 0.5763 MB / 1.027 GB, free: 18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/1.791, allocations: 132.4 kB / 1.027 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/1.791, allocations: 11.92 kB / 1.027 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.792, allocations: 299.6 kB / 1.027 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/1.792, allocations: 19.92 kB / 1.027 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/1.793, allocations: 19.97 kB / 1.027 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003681/1.793, allocations: 353.6 kB / 1.027 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.793, allocations: 8 kB / 1.027 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001036/1.794, allocations: 327.7 kB / 1.028 GB, free: 16.83 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005329/1.795, allocations: 303.6 kB / 1.028 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.808, allocations: 2.787 MB / 1.031 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.808, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.821, allocations: 2.342 MB / 1.033 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/1.823, allocations: 279.2 kB / 1.033 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/1.842, allocations: 4.112 MB / 1.037 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.842, allocations: 0.8915 MB / 1.038 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001048/1.843, allocations: 160.5 kB / 1.038 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/1.844, allocations: 59.36 kB / 1.038 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.844, allocations: 0 / 1.038 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.2863/2.13, allocations: 16.45 MB / 1.054 GB, free: 110.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)