Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.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.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2929/0.2929, allocations: 54.42 MB / 61.89 MB, free: 13.75 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.001192/0.001192, allocations: 184.1 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.372/1.372, allocations: 194.3 MB / 283.5 MB, free: 14.8 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.001593/0.001593, allocations: 117.2 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.525e-05, allocations: 4 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3668, allocations: 57.65 MB / 463.2 MB, free: 51.67 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6052/0.972, allocations: 336.9 MB / 0.7813 GB, free: 5.133 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.9723, allocations: 97.22 kB / 0.7814 GB, free: 5.082 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159/2.131, allocations: 291.9 MB / 1.066 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.864e-06/2.131, allocations: 3.344 kB / 1.066 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001281/2.131, allocations: 23.16 kB / 1.067 GB, free: 104.2 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002313/2.134, allocations: 0.9179 MB / 1.067 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/2.134, allocations: 9.219 kB / 1.067 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005116/2.134, allocations: 89.48 kB / 1.068 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/2.135, allocations: 0.5019 MB / 1.068 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/2.135, allocations: 80.61 kB / 1.068 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/2.136, allocations: 33.5 kB / 1.068 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005034/2.136, allocations: 228 kB / 1.068 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/2.137, allocations: 438 kB / 1.069 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/2.137, allocations: 4.5 kB / 1.069 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/2.137, allocations: 1.531 kB / 1.069 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/2.137, allocations: 15.84 kB / 1.069 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/2.14, allocations: 2.69 MB / 1.071 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/2.14, allocations: 121.1 kB / 1.072 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/2.14, allocations: 61.98 kB / 1.072 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/2.14, allocations: 6.547 kB / 1.072 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/2.14, allocations: 37.03 kB / 1.072 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/2.141, allocations: 0 / 1.072 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0009721/2.141, allocations: 247.2 kB / 1.072 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/2.142, allocations: 156.2 kB / 1.072 GB, free: 101 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/2.142, allocations: 423.3 kB / 1.072 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/2.142, allocations: 27.11 kB / 1.072 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/2.142, allocations: 351.6 kB / 1.073 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/2.142, allocations: 49.95 kB / 1.073 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/2.142, allocations: 0 / 1.073 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/2.142, allocations: 358 kB / 1.073 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/2.143, allocations: 83.95 kB / 1.073 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/2.143, allocations: 226.5 kB / 1.073 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/2.143, allocations: 111.4 kB / 1.074 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.143, allocations: 7.938 kB / 1.074 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004656/2.143, allocations: 329.6 kB / 1.074 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002515/2.144, allocations: 1.224 MB / 1.075 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/2.144, allocations: 2.203 kB / 1.075 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/2.144, allocations: 10.53 kB / 1.075 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/2.148, allocations: 0.748 MB / 1.076 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/2.15, allocations: 2.006 MB / 1.078 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007793/2.151, allocations: 91.62 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/2.151, allocations: 25.62 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/2.151, allocations: 3.844 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003393/2.151, allocations: 220.4 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/2.151, allocations: 3.938 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/2.151, allocations: 3.938 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/2.151, allocations: 101.5 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/2.151, allocations: 7.562 kB / 1.078 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/2.152, allocations: 59.27 kB / 1.078 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/2.152, allocations: 17.61 kB / 1.078 GB, free: 97.03 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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.0001522/2.152, allocations: 124.2 kB / 1.078 GB, free: 96.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/2.152, allocations: 47.66 kB / 1.078 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.607e-05/2.152, allocations: 40.28 kB / 1.078 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/2.152, allocations: 3.812 kB / 1.078 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.152, allocations: 0 / 1.078 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/2.152, allocations: 0 / 1.078 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008851/2.153, allocations: 0.6301 MB / 1.079 GB, free: 96.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/2.153, allocations: 1.781 kB / 1.079 GB, free: 96.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/2.157, allocations: 0.6619 MB / 1.08 GB, free: 96.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/2.157, allocations: 3.938 kB / 1.08 GB, free: 96.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/2.157, allocations: 7.812 kB / 1.08 GB, free: 96.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/2.161, allocations: 4.225 MB / 1.084 GB, free: 92.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/2.161, allocations: 0 / 1.084 GB, free: 92.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/2.161, allocations: 302.2 kB / 1.084 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/2.161, allocations: 135.8 kB / 1.084 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/2.161, allocations: 0 / 1.084 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/2.162, allocations: 78.97 kB / 1.084 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/2.162, allocations: 17.5 kB / 1.084 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/2.162, allocations: 13.69 kB / 1.084 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003455/2.162, allocations: 302.1 kB / 1.085 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/2.162, allocations: 3.656 kB / 1.085 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001143/2.163, allocations: 322.7 kB / 1.085 GB, free: 92.29 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 (13): * Single equations (assignments): 10 * 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.0006283/2.164, allocations: 365.8 kB / 1.085 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004066/2.168, allocations: 0.9474 MB / 1.086 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/2.168, allocations: 3 kB / 1.086 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005996/2.174, allocations: 1.121 MB / 1.087 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/2.176, allocations: 234 kB / 1.088 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/2.178, allocations: 0.9111 MB / 1.088 GB, free: 91.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/2.179, allocations: 0.8956 MB / 1.089 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006356/2.179, allocations: 119 kB / 1.089 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/2.179, allocations: 26.16 kB / 1.09 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/2.179, allocations: 0 / 1.09 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.01741/2.197, allocations: 10.47 MB / 1.1 GB, free: 90.73 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1)