Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [: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.001813/0.001813, allocations: 172.2 kB / 7.456 MB, free: 2.156 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5827/0.5827, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.11/1.11, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008409/0.0008408, allocations: 99.53 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.071e-06, allocations: 2.688 kB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6598/0.7599, allocations: 358.1 MB / 0.9829 GB, free: 233 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.7602, allocations: 93.91 kB / 0.983 GB, free: 233 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.8624/1.623, allocations: 417 MB / 1.39 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.174e-05/1.623, allocations: 22.66 kB / 1.39 GB, free: 101.6 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001536/1.624, allocations: 1.054 MB / 1.391 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/1.624, allocations: 8.031 kB / 1.391 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/1.624, allocations: 102.8 kB / 1.391 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/1.625, allocations: 0.5805 MB / 1.392 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/1.625, allocations: 18.94 kB / 1.392 GB, free: 99.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/1.625, allocations: 32 kB / 1.392 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003977/1.626, allocations: 242 kB / 1.392 GB, free: 99.49 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/1.626, allocations: 312.5 kB / 1.393 GB, free: 99.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.626, allocations: 0 / 1.393 GB, free: 99.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/1.626, allocations: 0 / 1.393 GB, free: 99.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.626, allocations: 12 kB / 1.393 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/1.628, allocations: 1.756 MB / 1.394 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/1.628, allocations: 150.5 kB / 1.394 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/1.628, allocations: 67.62 kB / 1.394 GB, free: 97.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.629, allocations: 352.1 kB / 1.395 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/1.629, allocations: 34.67 kB / 1.395 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/1.629, allocations: 3.938 kB / 1.395 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.000423/1.629, allocations: 215.9 kB / 1.395 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.405e-05/1.629, allocations: 54.34 kB / 1.395 GB, free: 96.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/1.63, allocations: 491.7 kB / 1.396 GB, free: 95.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.63, allocations: 29.7 kB / 1.396 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/1.63, allocations: 272.2 kB / 1.396 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.63, allocations: 63.09 kB / 1.396 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/1.63, allocations: 0 / 1.396 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/1.63, allocations: 377.9 kB / 1.396 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/1.63, allocations: 80.75 kB / 1.396 GB, free: 95.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/1.63, allocations: 196.1 kB / 1.397 GB, free: 94.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/1.63, allocations: 117.4 kB / 1.397 GB, free: 94.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.63, allocations: 0 / 1.397 GB, free: 94.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004745/1.631, allocations: 338.1 kB / 1.397 GB, free: 94.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/1.631, allocations: 263.3 kB / 1.397 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.631, allocations: 0 / 1.397 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.631, allocations: 7.562 kB / 1.397 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/1.632, allocations: 155.5 kB / 1.397 GB, free: 93.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008634/1.633, allocations: 2.393 MB / 1.4 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/1.633, allocations: 82.11 kB / 1.4 GB, free: 91.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/1.633, allocations: 16 kB / 1.4 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/1.633, allocations: 7.984 kB / 1.4 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003796/1.634, allocations: 231.7 kB / 1.4 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/1.634, allocations: 0 / 1.4 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/1.634, allocations: 4 kB / 1.4 GB, free: 91.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/1.634, allocations: 103.1 kB / 1.4 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/1.634, allocations: 7.938 kB / 1.4 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/1.635, allocations: 66.89 kB / 1.4 GB, free: 90.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.635, allocations: 15.25 kB / 1.4 GB, free: 90.95 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/1.635, allocations: 112.8 kB / 1.4 GB, free: 90.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/1.635, allocations: 59.25 kB / 1.4 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/1.635, allocations: 279.7 kB / 1.401 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/1.635, allocations: 3.984 kB / 1.401 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.635, allocations: 0 / 1.401 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.635, allocations: 0 / 1.401 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/1.636, allocations: 0.7923 MB / 1.401 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/1.636, allocations: 0 / 1.401 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/1.637, allocations: 77.88 kB / 1.402 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.637, allocations: 0 / 1.402 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.637, allocations: 4 kB / 1.402 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005698/1.637, allocations: 2.373 MB / 1.404 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.637, allocations: 3.906 kB / 1.404 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003329/1.638, allocations: 399.1 kB / 1.404 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.638, allocations: 168.1 kB / 1.404 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/1.638, allocations: 0 / 1.404 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/1.638, allocations: 58.44 kB / 1.404 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/1.638, allocations: 27.81 kB / 1.404 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.638, allocations: 7.75 kB / 1.404 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002885/1.639, allocations: 371.2 kB / 1.405 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000828/1.639, allocations: 387.1 kB / 1.405 GB, free: 85.67 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 (21): * 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): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006186/1.64, allocations: 483.3 kB / 1.406 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.641, allocations: 438.4 kB / 1.406 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.641, allocations: 0 / 1.406 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/1.642, allocations: 119.3 kB / 1.406 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.643, allocations: 292.5 kB / 1.406 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.644, allocations: 0.7565 MB / 1.407 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.644, allocations: 0.9963 MB / 1.408 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/1.644, allocations: 0 / 1.408 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.0181/1.663, allocations: 13.32 MB / 1.421 GB, free: 70.07 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)