Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [: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.001768/0.001768, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5899/0.5899, 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.102/1.102, allocations: 221.3 MB / 395 MB, free: 10.17 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.0008467/0.0008468, allocations: 106.8 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.633e-06, allocations: 3.312 kB / 0.5529 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6668/0.7727, allocations: 363.1 MB / 0.9878 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.773, allocations: 94.77 kB / 0.9879 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2842/1.057, allocations: 178.2 MB / 1.162 GB, free: 90.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.641e-05/1.057, allocations: 19.88 kB / 1.162 GB, free: 90.95 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008715/1.058, allocations: 0.7744 MB / 1.163 GB, free: 90.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/1.058, allocations: 8.031 kB / 1.163 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/1.058, allocations: 63.34 kB / 1.163 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/1.059, allocations: 461.2 kB / 1.163 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/1.059, allocations: 11.94 kB / 1.163 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/1.059, allocations: 20 kB / 1.163 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002297/1.059, allocations: 141 kB / 1.163 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/1.06, allocations: 244.2 kB / 1.164 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.06, allocations: 0 / 1.164 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.06, allocations: 0 / 1.164 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.06, allocations: 4 kB / 1.164 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/1.061, allocations: 1.458 MB / 1.165 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/1.061, allocations: 127.1 kB / 1.165 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/1.061, allocations: 72.77 kB / 1.165 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.062, allocations: 1.359 MB / 1.167 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/1.062, allocations: 34.56 kB / 1.167 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/1.062, allocations: 4 kB / 1.167 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003845/1.063, allocations: 184.2 kB / 1.167 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.272e-05/1.063, allocations: 51.41 kB / 1.167 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/1.063, allocations: 473.3 kB / 1.167 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.063, allocations: 25.7 kB / 1.167 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/1.063, allocations: 208 kB / 1.167 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/1.063, allocations: 51.2 kB / 1.168 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/1.063, allocations: 0 / 1.168 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.529e-05/1.063, allocations: 354.8 kB / 1.168 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/1.063, allocations: 56.55 kB / 1.168 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.064, allocations: 209.1 kB / 1.168 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/1.064, allocations: 107 kB / 1.168 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.064, allocations: 8 kB / 1.168 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004158/1.064, allocations: 264.8 kB / 1.168 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.064, allocations: 0.96 MB / 1.169 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.064, allocations: 7.938 kB / 1.169 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.064, allocations: 4 kB / 1.169 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/1.065, allocations: 71.89 kB / 1.17 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.065, allocations: 4 kB / 1.17 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/1.065, allocations: 47.66 kB / 1.17 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/1.065, allocations: 16 kB / 1.17 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/1.065, allocations: 4 kB / 1.17 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003419/1.065, allocations: 187.7 kB / 1.17 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/1.065, allocations: 0 / 1.17 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/1.065, allocations: 7.938 kB / 1.17 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/1.066, allocations: 80.08 kB / 1.17 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/1.066, allocations: 4 kB / 1.17 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/1.066, allocations: 35.73 kB / 1.17 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/1.066, allocations: 23.98 kB / 1.17 GB, free: 82.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.803e-05/1.066, allocations: 108.9 kB / 1.17 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/1.066, allocations: 43.44 kB / 1.17 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/1.067, allocations: 242 kB / 1.17 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.067, allocations: 4 kB / 1.17 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.067, allocations: 4 kB / 1.17 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.067, allocations: 0 / 1.17 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/1.067, allocations: 0.6776 MB / 1.171 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.067, allocations: 0 / 1.171 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/1.067, allocations: 48.03 kB / 1.171 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.067, allocations: 0 / 1.171 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.067, allocations: 4 kB / 1.171 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.067, allocations: 3.906 kB / 1.171 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.067, allocations: 4 kB / 1.171 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003339/1.068, allocations: 372.7 kB / 1.171 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.068, allocations: 152.4 kB / 1.172 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/1.068, allocations: 11.89 kB / 1.172 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.068, allocations: 19.98 kB / 1.172 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/1.068, allocations: 11.98 kB / 1.172 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.068, allocations: 4 kB / 1.172 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002775/1.069, allocations: 362.9 kB / 1.172 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006595/1.069, allocations: 267.5 kB / 1.172 GB, free: 79.75 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 (17): * Single equations (assignments): 15 * 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.000785/1.07, allocations: 0.523 MB / 1.173 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003593/1.07, allocations: 294.6 kB / 1.173 GB, free: 79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.07, allocations: 0 / 1.173 GB, free: 79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/1.07, allocations: 71.92 kB / 1.173 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/1.071, allocations: 208.9 kB / 1.173 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/1.072, allocations: 0.5715 MB / 1.174 GB, free: 78.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/1.073, allocations: 0.9014 MB / 1.175 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/1.073, allocations: 0 / 1.175 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of Templates: time 0.01387/1.086, allocations: 10.86 MB / 1.185 GB, free: 66.44 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)