Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 178.3 kB / 7.462 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5961/0.5961, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.091/1.091, allocations: 221.3 MB / 395 MB, free: 10.13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 94.31 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.851e-06, allocations: 0 / 0.5529 GB, free: 89.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 82.3 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6818/0.7826, allocations: 390.3 MB / 1.014 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.7829, allocations: 100.3 kB / 1.015 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.617/3.4, allocations: 1.123 GB / 2.137 GB, free: 57.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001625/3.4, allocations: 78.91 kB / 2.137 GB, free: 57.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003423/3.404, allocations: 2.317 MB / 2.14 GB, free: 56.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/3.404, allocations: 11.31 kB / 2.14 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/3.404, allocations: 271.2 kB / 2.14 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/3.407, allocations: 1.683 MB / 2.142 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/3.407, allocations: 39.48 kB / 2.142 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/3.407, allocations: 89.03 kB / 2.142 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001358/3.408, allocations: 0.9165 MB / 2.143 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/3.41, allocations: 0.936 MB / 2.144 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/3.41, allocations: 1.594 kB / 2.144 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/3.41, allocations: 0 / 2.144 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/3.41, allocations: 31.22 kB / 2.144 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006016/3.416, allocations: 5.985 MB / 2.149 GB, free: 52.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/3.417, allocations: 0.5693 MB / 2.15 GB, free: 52.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/3.417, allocations: 363.5 kB / 2.15 GB, free: 52.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/3.417, allocations: 0.5117 MB / 2.151 GB, free: 52.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/3.417, allocations: 36.44 kB / 2.151 GB, free: 52.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.314e-06/3.417, allocations: 0 / 2.151 GB, free: 52.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001316/3.419, allocations: 0.8677 MB / 2.152 GB, free: 52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.625e-05/3.419, allocations: 58.34 kB / 2.152 GB, free: 51.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/3.42, allocations: 1.32 MB / 2.153 GB, free: 51.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/3.42, allocations: 29.55 kB / 2.153 GB, free: 51.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/3.42, allocations: 0.5917 MB / 2.154 GB, free: 51.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/3.42, allocations: 201.1 kB / 2.154 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/3.421, allocations: 0 / 2.154 GB, free: 51.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/3.421, allocations: 347.9 kB / 2.154 GB, free: 50.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/3.421, allocations: 399.6 kB / 2.155 GB, free: 50.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/3.422, allocations: 0.714 MB / 2.155 GB, free: 50.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/3.423, allocations: 0.5001 MB / 2.156 GB, free: 50.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/3.423, allocations: 0 / 2.156 GB, free: 50.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001755/3.424, allocations: 1.275 MB / 2.157 GB, free: 50.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/3.424, allocations: 0.9201 MB / 2.158 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/3.424, allocations: 7.016 kB / 2.158 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/3.424, allocations: 8.344 kB / 2.158 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/3.426, allocations: 284 kB / 2.158 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/3.426, allocations: 10.78 kB / 2.158 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/3.427, allocations: 188.3 kB / 2.158 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/3.427, allocations: 66.84 kB / 2.158 GB, free: 49.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-06/3.427, allocations: 3.938 kB / 2.158 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/3.429, allocations: 1.003 MB / 2.159 GB, free: 49.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/3.429, allocations: 2.562 kB / 2.159 GB, free: 49.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/3.429, allocations: 6.969 kB / 2.159 GB, free: 49.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/3.43, allocations: 275.3 kB / 2.16 GB, free: 49.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/3.43, allocations: 14.5 kB / 2.16 GB, free: 49.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/3.431, allocations: 165 kB / 2.16 GB, free: 49.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-05/3.431, allocations: 63.53 kB / 2.16 GB, free: 49.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/3.432, allocations: 131.5 kB / 2.16 GB, free: 49.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/3.432, allocations: 180.6 kB / 2.16 GB, free: 49.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/3.433, allocations: 1.045 MB / 2.161 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/3.434, allocations: 8.5 kB / 2.161 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/3.434, allocations: 0 / 2.161 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/3.434, allocations: 9.859 kB / 2.161 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/3.436, allocations: 2.232 MB / 2.163 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/3.436, allocations: 0 / 2.163 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/3.437, allocations: 140.5 kB / 2.164 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/3.437, allocations: 6.469 kB / 2.164 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/3.437, allocations: 11.56 kB / 2.164 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/3.437, allocations: 10.08 kB / 2.164 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/3.437, allocations: 3.344 kB / 2.164 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001071/3.438, allocations: 1.103 MB / 2.165 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/3.438, allocations: 364.8 kB / 2.165 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/3.439, allocations: 0 / 2.165 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008985/3.439, allocations: 101.7 kB / 2.165 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/3.44, allocations: 44.42 kB / 2.165 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/3.44, allocations: 27.56 kB / 2.165 GB, free: 47.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009291/3.441, allocations: 0.9622 MB / 2.166 GB, free: 47.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001924/3.442, allocations: 0.9839 MB / 2.167 GB, free: 47.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/3.444, allocations: 0.9926 MB / 2.168 GB, free: 47.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001748/3.445, allocations: 1.583 MB / 2.17 GB, free: 47.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/3.445, allocations: 0 / 2.17 GB, free: 47.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/3.446, allocations: 389.4 kB / 2.17 GB, free: 47.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/3.449, allocations: 0.8888 MB / 2.171 GB, free: 47.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/3.453, allocations: 2.281 MB / 2.173 GB, free: 46.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009518/3.454, allocations: 1.623 MB / 2.175 GB, free: 45.96 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/3.454, allocations: 3 kB / 2.175 GB, free: 45.96 MB / 0.698 GB Notification: Performance of Templates: time 0.05294/3.507, allocations: 41.69 MB / 2.215 GB, free: 43.25 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)