Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") [: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.001701/0.001701, allocations: 184 kB / 7.462 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.5983/0.5983, 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.136/1.136, allocations: 221.3 MB / 395 MB, free: 10.2 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.0007965/0.0007965, allocations: 98.59 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.611e-06/5.631e-06, allocations: 0 / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.75/2.858, allocations: 1.849 GB / 2.482 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/2.858, allocations: 83.95 kB / 2.482 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.529/5.387, allocations: 0.9747 GB / 3.457 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.912e-05/5.387, allocations: 13.81 kB / 3.457 GB, free: 140.2 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002385/5.39, allocations: 1.053 MB / 3.458 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/5.39, allocations: 7.656 kB / 3.458 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/5.391, allocations: 235.5 kB / 3.458 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/5.393, allocations: 0.8962 MB / 3.459 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/5.393, allocations: 11.03 kB / 3.459 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/5.393, allocations: 25.03 kB / 3.459 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004894/5.394, allocations: 334.2 kB / 3.46 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/5.394, allocations: 455 kB / 3.46 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/5.394, allocations: 0 / 3.46 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/5.394, allocations: 0 / 3.46 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/5.394, allocations: 20.44 kB / 3.46 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/5.396, allocations: 2.249 MB / 3.462 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/5.397, allocations: 241.1 kB / 3.462 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/5.397, allocations: 132 kB / 3.463 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008109/5.398, allocations: 0.8265 MB / 3.463 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/5.398, allocations: 197.6 kB / 3.464 GB, free: 137 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/5.398, allocations: 2.844 kB / 3.464 GB, free: 137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.000939/5.399, allocations: 418.2 kB / 3.464 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/5.399, allocations: 105.7 kB / 3.464 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/5.399, allocations: 455 kB / 3.465 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/5.399, allocations: 28.73 kB / 3.465 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/5.399, allocations: 249.3 kB / 3.465 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/5.399, allocations: 94.36 kB / 3.465 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/5.4, allocations: 0 / 3.465 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/5.4, allocations: 366.9 kB / 3.465 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/5.4, allocations: 105.9 kB / 3.465 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/5.4, allocations: 294.1 kB / 3.466 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/5.4, allocations: 222.6 kB / 3.466 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/5.4, allocations: 3.062 kB / 3.466 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007408/5.401, allocations: 498.9 kB / 3.466 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/5.401, allocations: 1.828 MB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.401, allocations: 3.562 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/5.401, allocations: 7.688 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/5.402, allocations: 93.05 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/5.402, allocations: 9 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/5.402, allocations: 54.38 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/5.402, allocations: 21.69 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-06/5.402, allocations: 3.938 kB / 3.468 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006471/5.403, allocations: 408.1 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/5.403, allocations: 6.719 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/5.403, allocations: 7.719 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/5.403, allocations: 93.23 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/5.403, allocations: 7.031 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/5.404, allocations: 35.59 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/5.404, allocations: 25.98 kB / 3.469 GB, free: 134 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 8.338e-05/5.404, allocations: 121.8 kB / 3.469 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/5.404, allocations: 53.47 kB / 3.469 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/5.404, allocations: 376.5 kB / 3.469 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/5.404, allocations: 5.5 kB / 3.469 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/5.404, allocations: 3.938 kB / 3.469 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/5.404, allocations: 0 / 3.469 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/5.406, allocations: 1.176 MB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/5.406, allocations: 3.969 kB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/5.406, allocations: 49.95 kB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/5.406, allocations: 4.031 kB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/5.406, allocations: 19 kB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/5.406, allocations: 3.969 kB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.406, allocations: 3.844 kB / 3.471 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008/5.407, allocations: 0.777 MB / 3.471 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/5.407, allocations: 172.2 kB / 3.472 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/5.407, allocations: 11.11 kB / 3.472 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/5.407, allocations: 7.906 kB / 3.472 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/5.407, allocations: 17.56 kB / 3.472 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/5.407, allocations: 16.38 kB / 3.472 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002741/5.408, allocations: 349.2 kB / 3.472 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009894/5.409, allocations: 384.1 kB / 3.472 GB, free: 132.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002128/5.411, allocations: 1.779 MB / 3.474 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007549/5.412, allocations: 0.4898 MB / 3.474 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/5.412, allocations: 0 / 3.474 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/5.412, allocations: 132.6 kB / 3.475 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/5.413, allocations: 197.2 kB / 3.475 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/5.417, allocations: 1.644 MB / 3.476 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/5.417, allocations: 0.965 MB / 3.477 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/5.417, allocations: 1.031 kB / 3.477 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02762/5.445, allocations: 18.59 MB / 3.496 GB, free: 128.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)