Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.001723/0.001723, allocations: 180.4 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6194/0.6194, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.102/1.102, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008413/0.0008413, allocations: 98.08 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.432e-06, allocations: 2.344 kB / 0.5528 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.09948, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6829/0.7824, allocations: 358.6 MB / 0.9834 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.7826, allocations: 96.5 kB / 0.9835 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2856/1.068, allocations: 177.8 MB / 1.157 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.566e-05/1.068, allocations: 19.94 kB / 1.157 GB, free: 78.58 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008398/1.069, allocations: 0.7313 MB / 1.158 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/1.069, allocations: 8.031 kB / 1.158 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/1.069, allocations: 63.33 kB / 1.158 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/1.07, allocations: 424.6 kB / 1.158 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/1.07, allocations: 4 kB / 1.158 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/1.07, allocations: 23.94 kB / 1.158 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000206/1.07, allocations: 128.8 kB / 1.158 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/1.07, allocations: 162.4 kB / 1.159 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.07, allocations: 0 / 1.159 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/1.07, allocations: 0 / 1.159 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/1.07, allocations: 11.91 kB / 1.159 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009674/1.071, allocations: 0.8868 MB / 1.159 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/1.071, allocations: 110.6 kB / 1.16 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/1.072, allocations: 56.84 kB / 1.16 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/1.072, allocations: 339.9 kB / 1.16 GB, free: 75.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/1.072, allocations: 34.56 kB / 1.16 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/1.072, allocations: 0 / 1.16 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0003445/1.072, allocations: 170 kB / 1.16 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.19e-05/1.072, allocations: 63.41 kB / 1.16 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.072, allocations: 361.1 kB / 1.161 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/1.072, allocations: 25.7 kB / 1.161 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/1.073, allocations: 172.3 kB / 1.161 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/1.073, allocations: 43.36 kB / 1.161 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/1.073, allocations: 0 / 1.161 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/1.073, allocations: 350.7 kB / 1.161 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/1.073, allocations: 51.98 kB / 1.161 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/1.073, allocations: 154.9 kB / 1.161 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/1.073, allocations: 82.53 kB / 1.161 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.073, allocations: 0 / 1.161 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003259/1.073, allocations: 217 kB / 1.162 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/1.073, allocations: 274.9 kB / 1.162 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.073, allocations: 0 / 1.162 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/1.073, allocations: 8 kB / 1.162 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/1.074, allocations: 51.91 kB / 1.162 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.074, allocations: 4 kB / 1.162 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/1.074, allocations: 43.81 kB / 1.162 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/1.074, allocations: 11.98 kB / 1.162 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-06/1.074, allocations: 4 kB / 1.162 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002635/1.074, allocations: 142.4 kB / 1.162 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/1.074, allocations: 3.938 kB / 1.162 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/1.074, allocations: 0 / 1.162 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/1.074, allocations: 55.97 kB / 1.162 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/1.074, allocations: 3.938 kB / 1.162 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/1.075, allocations: 35.81 kB / 1.162 GB, free: 73.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/1.075, allocations: 15.98 kB / 1.162 GB, free: 73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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 5.484e-05/1.075, allocations: 112.9 kB / 1.162 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/1.075, allocations: 39.53 kB / 1.162 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/1.075, allocations: 224 kB / 1.163 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.075, allocations: 0 / 1.163 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.075, allocations: 7.906 kB / 1.163 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.075, allocations: 0 / 1.163 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/1.076, allocations: 0.6344 MB / 1.163 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.076, allocations: 0 / 1.163 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.076, allocations: 36.11 kB / 1.163 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.076, allocations: 0 / 1.163 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.076, allocations: 4 kB / 1.163 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.076, allocations: 4 kB / 1.163 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.076, allocations: 0 / 1.163 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002805/1.076, allocations: 357.1 kB / 1.164 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/1.077, allocations: 144.4 kB / 1.164 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/1.077, allocations: 0 / 1.164 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.077, allocations: 27.97 kB / 1.164 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/1.077, allocations: 15.89 kB / 1.164 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.077, allocations: 8 kB / 1.164 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001995/1.077, allocations: 279.2 kB / 1.164 GB, free: 71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005889/1.078, allocations: 227.5 kB / 1.164 GB, free: 70.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007484/1.079, allocations: 0.4944 MB / 1.165 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003209/1.079, allocations: 238.2 kB / 1.165 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.079, allocations: 4 kB / 1.165 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/1.079, allocations: 71.86 kB / 1.165 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/1.08, allocations: 183 kB / 1.165 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/1.081, allocations: 0.4962 MB / 1.166 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/1.081, allocations: 0.8776 MB / 1.167 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/1.081, allocations: 0 / 1.167 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.01186/1.093, allocations: 9.182 MB / 1.176 GB, free: 59.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)