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") [: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.2776/0.2776, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.001315/0.001315, allocations: 185.7 kB / 75.37 MB, free: 1.492 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.358/1.358, allocations: 194.2 MB / 283.2 MB, free: 3.562 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.001769/0.001769, allocations: 115.9 kB / 341.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.063e-06, allocations: 4 kB / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 57.65 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8591/0.9825, allocations: 335.1 MB / 0.779 GB, free: 53.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.9828, allocations: 92.98 kB / 0.7791 GB, free: 53.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7197/1.702, allocations: 217.6 MB / 0.9915 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.383e-05/1.703, allocations: 15.44 kB / 0.9915 GB, free: 45.76 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.002163/1.705, allocations: 0.8639 MB / 0.9924 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.705, allocations: 19.91 kB / 0.9924 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/1.707, allocations: 374.8 kB / 0.9928 GB, free: 44.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/1.708, allocations: 0.4909 MB / 0.9932 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/1.709, allocations: 19.98 kB / 0.9933 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.709, allocations: 24 kB / 0.9933 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000809/1.709, allocations: 353.5 kB / 0.9936 GB, free: 43.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/1.71, allocations: 478 kB / 0.9941 GB, free: 43.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.71, allocations: 0 / 0.9941 GB, free: 43.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/1.71, allocations: 7.906 kB / 0.9941 GB, free: 43.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/1.71, allocations: 19.98 kB / 0.9941 GB, free: 43.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/1.714, allocations: 2.648 MB / 0.9967 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/1.715, allocations: 235.9 kB / 0.9969 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/1.715, allocations: 138.6 kB / 0.997 GB, free: 39.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/1.715, allocations: 125.1 kB / 0.9972 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.715, allocations: 34.5 kB / 0.9972 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 3.567e-06/1.715, allocations: 0 / 0.9972 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.006451/1.722, allocations: 1.313 MB / 0.9985 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.722, allocations: 166.2 kB / 0.9986 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/1.722, allocations: 378 kB / 0.999 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/1.723, allocations: 29.7 kB / 0.999 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.723, allocations: 231.8 kB / 0.9992 GB, free: 37.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/1.723, allocations: 79 kB / 0.9993 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/1.723, allocations: 0 / 0.9993 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/1.723, allocations: 359 kB / 0.9997 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/1.723, allocations: 216 kB / 0.9999 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/1.724, allocations: 348.5 kB / 1 GB, free: 36.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/1.724, allocations: 203.9 kB / 1 GB, free: 36.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.724, allocations: 0 / 1 GB, free: 36.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001085/1.725, allocations: 0.5751 MB / 1.001 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/1.725, allocations: 1.051 MB / 1.002 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.726, allocations: 4 kB / 1.002 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.726, allocations: 4 kB / 1.002 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01783/1.743, allocations: 3.005 MB / 1.005 GB, free: 31.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/1.748, allocations: 1.425 MB / 1.006 GB, free: 30.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.75, allocations: 347.4 kB / 1.007 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.75, allocations: 23.97 kB / 1.007 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.75, allocations: 4 kB / 1.007 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005127/1.751, allocations: 231.7 kB / 1.007 GB, free: 29.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.751, allocations: 4 kB / 1.007 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.751, allocations: 4.344 kB / 1.007 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/1.751, allocations: 127.8 kB / 1.007 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.751, allocations: 4 kB / 1.007 GB, free: 29.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/1.752, allocations: 95.55 kB / 1.007 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/1.752, allocations: 16 kB / 1.007 GB, free: 29.22 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 (44): * Single equations (assignments): 43 * 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.0002169/1.752, allocations: 112.9 kB / 1.007 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.753, allocations: 51.34 kB / 1.007 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/1.753, allocations: 56.11 kB / 1.007 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.753, allocations: 3.938 kB / 1.007 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.753, allocations: 4 kB / 1.007 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.753, allocations: 3.984 kB / 1.007 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/1.754, allocations: 0.8244 MB / 1.008 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.754, allocations: 0 / 1.008 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01583/1.77, allocations: 2.736 MB / 1.011 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/1.77, allocations: 0 / 1.011 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/1.77, allocations: 15.97 kB / 1.011 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.784, allocations: 3.607 MB / 1.014 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.784, allocations: 0 / 1.014 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001119/1.786, allocations: 0.5662 MB / 1.015 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/1.786, allocations: 124.5 kB / 1.015 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.786, allocations: 3.906 kB / 1.015 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.788, allocations: 323.6 kB / 1.015 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/1.788, allocations: 11.98 kB / 1.015 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/1.788, allocations: 15.97 kB / 1.015 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00034/1.789, allocations: 290.9 kB / 1.016 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001254/1.79, allocations: 323.4 kB / 1.016 GB, free: 19.96 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.0006721/1.791, allocations: 292.5 kB / 1.016 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02961/1.82, allocations: 5.264 MB / 1.021 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.82, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02582/1.846, allocations: 4.38 MB / 1.026 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.848, allocations: 223.6 kB / 1.026 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/1.871, allocations: 4.469 MB / 1.03 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/1.872, allocations: 0.9839 MB / 1.031 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/1.872, allocations: 4 kB / 1.031 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.2531/2.125, allocations: 15.47 MB / 1.046 GB, free: 166.7 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)