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.2944/0.2944, allocations: 55.01 MB / 69.96 MB, free: 8.684 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.001156/0.001156, allocations: 183.1 kB / 83.98 MB, free: 10.86 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.914/1.914, allocations: 194.4 MB / 292.3 MB, free: 3.594 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.001947/0.001947, allocations: 108.7 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004106, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1695, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.422, allocations: 335.9 MB / 0.7934 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004413/1.422, allocations: 106.6 kB / 0.7935 GB, free: 93.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8042/2.227, allocations: 218.9 MB / 1.007 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.424e-06/2.227, allocations: 0 / 1.007 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.794e-05/2.227, allocations: 20 kB / 1.007 GB, free: 81.36 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.001997/2.229, allocations: 0.9539 MB / 1.008 GB, free: 80.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/2.229, allocations: 12.03 kB / 1.008 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/2.231, allocations: 346.9 kB / 1.009 GB, free: 80.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/2.232, allocations: 0.4957 MB / 1.009 GB, free: 79.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/2.232, allocations: 32.98 kB / 1.009 GB, free: 79.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/2.232, allocations: 47.95 kB / 1.009 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/2.239, allocations: 1.872 MB / 1.011 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/2.239, allocations: 0 / 1.011 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/2.239, allocations: 20 kB / 1.011 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/2.239, allocations: 12 kB / 1.011 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0076/2.247, allocations: 1.852 MB / 1.013 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/2.251, allocations: 2.786 MB / 1.016 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007015/2.258, allocations: 1.573 MB / 1.017 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/2.258, allocations: 113.1 kB / 1.017 GB, free: 70.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/2.258, allocations: 46.89 kB / 1.017 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 5.41e-06/2.258, allocations: 3.984 kB / 1.017 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.01495/2.273, allocations: 3.193 MB / 1.02 GB, free: 67.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.273, allocations: 154.2 kB / 1.02 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/2.274, allocations: 478.2 kB / 1.021 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/2.274, allocations: 33.7 kB / 1.021 GB, free: 66.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/2.275, allocations: 312 kB / 1.021 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/2.275, allocations: 71 kB / 1.021 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/2.275, allocations: 8 kB / 1.021 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001319/2.275, allocations: 370.8 kB / 1.022 GB, free: 66.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/2.277, allocations: 0.6527 MB / 1.022 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/2.279, allocations: 0.7721 MB / 1.023 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/2.281, allocations: 0.6477 MB / 1.024 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/2.281, allocations: 3.938 kB / 1.024 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004253/2.285, allocations: 1.476 MB / 1.025 GB, free: 62.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/2.285, allocations: 1.059 MB / 1.026 GB, free: 61.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.285, allocations: 11.89 kB / 1.026 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/2.285, allocations: 4 kB / 1.026 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0161/2.301, allocations: 2.521 MB / 1.029 GB, free: 58.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/2.306, allocations: 1.429 MB / 1.03 GB, free: 57.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/2.308, allocations: 335.2 kB / 1.03 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/2.308, allocations: 23.97 kB / 1.03 GB, free: 57.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/2.308, allocations: 4 kB / 1.03 GB, free: 57.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/2.309, allocations: 459.7 kB / 1.031 GB, free: 56.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/2.309, allocations: 0 / 1.031 GB, free: 56.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/2.309, allocations: 11.98 kB / 1.031 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/2.31, allocations: 115.9 kB / 1.031 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/2.31, allocations: 8.109 kB / 1.031 GB, free: 56.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/2.311, allocations: 103.5 kB / 1.031 GB, free: 56.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/2.311, allocations: 16 kB / 1.031 GB, free: 56.37 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 () * Number of clocked 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.0004481/2.311, allocations: 261 kB / 1.031 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/2.311, allocations: 55.25 kB / 1.031 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/2.311, allocations: 61.02 kB / 1.031 GB, free: 55.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/2.311, allocations: 0 / 1.031 GB, free: 55.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/2.311, allocations: 7.953 kB / 1.031 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/2.311, allocations: 0 / 1.031 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/2.312, allocations: 0.8861 MB / 1.032 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.312, allocations: 4.062 kB / 1.032 GB, free: 55.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01526/2.328, allocations: 2.474 MB / 1.035 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/2.328, allocations: 0 / 1.035 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/2.328, allocations: 15.97 kB / 1.035 GB, free: 52.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/2.344, allocations: 4.498 MB / 1.039 GB, free: 47.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.344, allocations: 4.062 kB / 1.039 GB, free: 47.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/2.348, allocations: 1.427 MB / 1.041 GB, free: 46.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/2.349, allocations: 128.4 kB / 1.041 GB, free: 46.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/2.349, allocations: 11.94 kB / 1.041 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/2.351, allocations: 303.6 kB / 1.041 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/2.351, allocations: 19.94 kB / 1.041 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/2.351, allocations: 15.97 kB / 1.041 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004937/2.351, allocations: 362.8 kB / 1.041 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/2.351, allocations: 3.938 kB / 1.041 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001321/2.353, allocations: 343.6 kB / 1.042 GB, free: 45.26 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 () * Number of clocked 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.0007082/2.353, allocations: 287.7 kB / 1.042 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01804/2.371, allocations: 3.708 MB / 1.046 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/2.371, allocations: 0 / 1.046 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01435/2.386, allocations: 2.755 MB / 1.048 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/2.388, allocations: 283.9 kB / 1.049 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/2.411, allocations: 4.943 MB / 1.053 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/2.412, allocations: 0.8828 MB / 1.054 GB, free: 32.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001156/2.413, allocations: 132.5 kB / 1.054 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/2.413, allocations: 67.36 kB / 1.054 GB, free: 32.15 MB / 0.4948 GB Notification: Performance of SimCode: time 4.529e-06/2.413, allocations: 0 / 1.054 GB, free: 32.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.02435/2.437, allocations: 15.19 MB / 1.069 GB, free: 16.96 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)