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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2913/0.2913, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001154/0.001154, allocations: 181.8 kB / 75.37 MB, free: 1.469 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.411/1.411, allocations: 194.2 MB / 283.2 MB, free: 3.512 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.001767/0.001767, allocations: 109.3 kB / 341.3 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.779e-06/9.799e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 57.65 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7566/0.8915, allocations: 336.8 MB / 0.7807 GB, free: 54.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.8919, allocations: 87.58 kB / 0.7808 GB, free: 54.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.089/1.981, allocations: 293.5 MB / 1.067 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.701e-05/1.981, allocations: 17.84 kB / 1.067 GB, free: 102.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.00155/1.983, allocations: 0.9274 MB / 1.068 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.983, allocations: 14.66 kB / 1.068 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/1.983, allocations: 92.78 kB / 1.068 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/1.984, allocations: 0.5017 MB / 1.069 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/1.984, allocations: 75.06 kB / 1.069 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/1.984, allocations: 32.38 kB / 1.069 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004256/1.985, allocations: 230.2 kB / 1.069 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/1.985, allocations: 440.7 kB / 1.07 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.985, allocations: 3 kB / 1.07 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/1.985, allocations: 0 / 1.07 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.985, allocations: 19.09 kB / 1.07 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/1.988, allocations: 2.638 MB / 1.072 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/1.988, allocations: 114.7 kB / 1.072 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/1.988, allocations: 55.17 kB / 1.072 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/1.988, allocations: 7.406 kB / 1.072 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.988, allocations: 39.41 kB / 1.072 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/1.988, allocations: 0 / 1.072 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.001043/1.989, allocations: 261.4 kB / 1.073 GB, free: 99.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.989, allocations: 154.2 kB / 1.073 GB, free: 99.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/1.99, allocations: 424.3 kB / 1.073 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/1.99, allocations: 29.67 kB / 1.073 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/1.99, allocations: 281.8 kB / 1.074 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/1.99, allocations: 46.45 kB / 1.074 GB, free: 98.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/1.99, allocations: 0 / 1.074 GB, free: 98.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.99, allocations: 358.7 kB / 1.074 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/1.99, allocations: 84.81 kB / 1.074 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.99, allocations: 224.7 kB / 1.074 GB, free: 98.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/1.991, allocations: 114.1 kB / 1.074 GB, free: 98.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.991, allocations: 9.656 kB / 1.074 GB, free: 98.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004984/1.991, allocations: 330.7 kB / 1.075 GB, free: 98.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002866/1.991, allocations: 1.224 MB / 1.076 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.991, allocations: 3.844 kB / 1.076 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.991, allocations: 7.5 kB / 1.076 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/1.996, allocations: 0.8226 MB / 1.077 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/1.999, allocations: 2.101 MB / 1.079 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/1.999, allocations: 100.6 kB / 1.079 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.999, allocations: 20.95 kB / 1.079 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/1.999, allocations: 3.719 kB / 1.079 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003662/2, allocations: 216.7 kB / 1.079 GB, free: 95.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/2, allocations: 3.812 kB / 1.079 GB, free: 95.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/2, allocations: 3.938 kB / 1.079 GB, free: 95.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/2, allocations: 101 kB / 1.079 GB, free: 95.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/2, allocations: 14.56 kB / 1.079 GB, free: 95.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/2.001, allocations: 58.72 kB / 1.079 GB, free: 95.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/2.001, allocations: 14.78 kB / 1.079 GB, free: 95.09 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.0001534/2.001, allocations: 117.5 kB / 1.079 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/2.001, allocations: 53.88 kB / 1.079 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/2.001, allocations: 39.8 kB / 1.079 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/2.001, allocations: 7.281 kB / 1.079 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.001, allocations: 0 / 1.079 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.001, allocations: 7.609 kB / 1.079 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/2.002, allocations: 0.6234 MB / 1.08 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/2.002, allocations: 1.969 kB / 1.08 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/2.006, allocations: 0.7428 MB / 1.081 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/2.006, allocations: 0 / 1.081 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/2.006, allocations: 0 / 1.081 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005242/2.011, allocations: 4.313 MB / 1.085 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.011, allocations: 3.875 kB / 1.085 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003561/2.012, allocations: 300 kB / 1.085 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/2.012, allocations: 123.4 kB / 1.085 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/2.012, allocations: 0 / 1.085 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/2.012, allocations: 89.42 kB / 1.085 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/2.013, allocations: 15.55 kB / 1.085 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/2.013, allocations: 11.44 kB / 1.085 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003227/2.013, allocations: 301.1 kB / 1.086 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001111/2.014, allocations: 332.4 kB / 1.086 GB, free: 90.36 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.0006139/2.015, allocations: 355.5 kB / 1.086 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007795/2.022, allocations: 1.493 MB / 1.088 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/2.022, allocations: 3.562 kB / 1.088 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009393/2.032, allocations: 1.639 MB / 1.089 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/2.033, allocations: 231.4 kB / 1.09 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/2.036, allocations: 0.9878 MB / 1.091 GB, free: 90 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/2.036, allocations: 0.9373 MB / 1.092 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.493e-06/2.036, allocations: 0 / 1.092 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.01815/2.055, allocations: 11.28 MB / 1.103 GB, free: 88.98 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)