Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") [: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.001725/0.001725, allocations: 184.8 kB / 7.463 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.5875/0.5875, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.109/1.109, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008664/0.0008664, allocations: 87.84 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.462e-06, allocations: 2.875 kB / 0.5529 GB, free: 88.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6825/0.7868, allocations: 392.3 MB / 1.016 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.787, allocations: 95.94 kB / 1.016 GB, free: 242.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.207/2.994, allocations: 0.9913 GB / 2.008 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000261/2.995, allocations: 79.91 kB / 2.008 GB, free: 10.42 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.0041/2.999, allocations: 2.573 MB / 2.01 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/2.999, allocations: 11.97 kB / 2.01 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/3, allocations: 324.2 kB / 2.011 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/3.004, allocations: 2.484 MB / 2.013 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/3.004, allocations: 48 kB / 2.013 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/3.004, allocations: 104 kB / 2.013 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001526/3.005, allocations: 0.99 MB / 2.014 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/3.007, allocations: 1.313 MB / 2.015 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/3.007, allocations: 3.984 kB / 2.015 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/3.007, allocations: 11.91 kB / 2.015 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/3.007, allocations: 36 kB / 2.015 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008223/3.016, allocations: 8.028 MB / 2.023 GB, free: 9.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/3.016, allocations: 411.9 kB / 2.024 GB, free: 9.434 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/3.017, allocations: 310.8 kB / 2.024 GB, free: 9.121 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/3.017, allocations: 0.7562 MB / 2.025 GB, free: 8.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/3.017, allocations: 43.06 kB / 2.025 GB, free: 8.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 1.794e-06/3.017, allocations: 7.875 kB / 2.025 GB, free: 8.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001339/3.019, allocations: 0.7283 MB / 2.025 GB, free: 7.406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/3.019, allocations: 59.91 kB / 2.026 GB, free: 7.336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/3.021, allocations: 1.715 MB / 2.027 GB, free: 5.602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/3.021, allocations: 29.7 kB / 2.027 GB, free: 5.566 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/3.021, allocations: 0.7471 MB / 2.028 GB, free: 4.797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/3.022, allocations: 209 kB / 2.028 GB, free: 4.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/3.022, allocations: 0 / 2.028 GB, free: 4.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000115/3.022, allocations: 349.8 kB / 2.029 GB, free: 4.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/3.022, allocations: 306.6 kB / 2.029 GB, free: 3.945 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/3.023, allocations: 0.7665 MB / 2.03 GB, free: 2.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/3.024, allocations: 458.7 kB / 2.03 GB, free: 2.531 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/3.024, allocations: 0 / 2.03 GB, free: 2.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001808/3.026, allocations: 1.129 MB / 2.031 GB, free: 1.395 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009791/3.027, allocations: 3.162 MB / 2.034 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/3.027, allocations: 12 kB / 2.034 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/3.027, allocations: 12 kB / 2.034 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/3.028, allocations: 259.6 kB / 2.034 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/3.028, allocations: 19.92 kB / 2.034 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/3.029, allocations: 198.5 kB / 2.035 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/3.029, allocations: 59.97 kB / 2.035 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/3.029, allocations: 4 kB / 2.035 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/3.031, allocations: 0.8488 MB / 2.036 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/3.031, allocations: 12.02 kB / 2.036 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/3.031, allocations: 20 kB / 2.036 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/3.032, allocations: 255.6 kB / 2.036 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/3.032, allocations: 15.98 kB / 2.036 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/3.033, allocations: 171 kB / 2.036 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/3.033, allocations: 47.98 kB / 2.036 GB, free: 12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.0001666/3.033, allocations: 148.8 kB / 2.036 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/3.034, allocations: 209.3 kB / 2.036 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/3.035, allocations: 0.8571 MB / 2.037 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/3.035, allocations: 8 kB / 2.037 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/3.035, allocations: 0 / 2.037 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009427/3.036, allocations: 0.6666 MB / 2.038 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/3.04, allocations: 2.438 MB / 2.04 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/3.04, allocations: 4 kB / 2.04 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/3.04, allocations: 147.9 kB / 2.04 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/3.04, allocations: 4 kB / 2.04 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/3.04, allocations: 8 kB / 2.04 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/3.04, allocations: 7.922 kB / 2.04 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/3.04, allocations: 4 kB / 2.04 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00164/3.042, allocations: 1.295 MB / 2.042 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/3.043, allocations: 446 kB / 2.042 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/3.043, allocations: 0 / 2.042 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/3.044, allocations: 151.7 kB / 2.042 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/3.044, allocations: 40.5 kB / 2.042 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/3.044, allocations: 35.97 kB / 2.042 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.00155/3.046, allocations: 1.262 MB / 2.044 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00279/3.049, allocations: 1.223 MB / 2.045 GB, free: 2.863 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.00169/3.05, allocations: 1.198 MB / 2.046 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001727/3.052, allocations: 1.326 MB / 2.047 GB, free: 436 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/3.052, allocations: 4 kB / 2.047 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/3.053, allocations: 306.4 kB / 2.048 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2057/3.258, allocations: 1.232 MB / 2.049 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/3.263, allocations: 2.87 MB / 2.052 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/3.264, allocations: 1.831 MB / 2.053 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/3.264, allocations: 5.281 kB / 2.053 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.06298/3.327, allocations: 48.74 MB / 2.101 GB, free: 126.8 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)