Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.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.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u") [: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.002365/0.002364, allocations: 174.2 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6084/0.6084, 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.158/1.158, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008642/0.0008642, allocations: 95.47 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.563e-06/6.713e-06, allocations: 0 / 0.5528 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.574/2.7, allocations: 1.895 GB / 2.528 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/2.7, allocations: 83.95 kB / 2.528 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.632/5.333, allocations: 1.05 GB / 3.578 GB, free: 46.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001753/5.333, allocations: 43.98 kB / 3.578 GB, free: 46.7 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003765/5.337, allocations: 2.078 MB / 3.58 GB, free: 44.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/5.337, allocations: 8.031 kB / 3.58 GB, free: 44.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/5.34, allocations: 0.663 MB / 3.581 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/5.343, allocations: 1.471 MB / 3.582 GB, free: 42.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/5.344, allocations: 122.3 kB / 3.582 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/5.344, allocations: 72 kB / 3.582 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/5.345, allocations: 1.026 MB / 3.583 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/5.347, allocations: 1.235 MB / 3.585 GB, free: 39.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/5.347, allocations: 0 / 3.585 GB, free: 39.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/5.347, allocations: 7.984 kB / 3.585 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/5.347, allocations: 42.17 kB / 3.585 GB, free: 39.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/5.354, allocations: 6.15 MB / 3.591 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/5.355, allocations: 0.8513 MB / 3.591 GB, free: 32.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/5.356, allocations: 475.5 kB / 3.592 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/5.356, allocations: 481.3 kB / 3.592 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/5.357, allocations: 0.532 MB / 3.593 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 2.444e-06/5.357, allocations: 0 / 3.593 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.004973/5.362, allocations: 2.548 MB / 3.595 GB, free: 28.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/5.362, allocations: 192.6 kB / 3.596 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/5.363, allocations: 0.9252 MB / 3.596 GB, free: 27.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/5.363, allocations: 25.7 kB / 3.596 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/5.363, allocations: 0.4893 MB / 3.597 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/5.363, allocations: 287.7 kB / 3.597 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/5.363, allocations: 4 kB / 3.597 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.427e-05/5.363, allocations: 341.9 kB / 3.598 GB, free: 26.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/5.364, allocations: 349.9 kB / 3.598 GB, free: 25.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/5.364, allocations: 0.5726 MB / 3.598 GB, free: 25.12 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/5.368, allocations: 1.647 MB / 3.6 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/5.368, allocations: 0 / 3.6 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001634/5.37, allocations: 1.142 MB / 3.601 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000197/5.37, allocations: 1.424 MB / 3.603 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/5.37, allocations: 4 kB / 3.603 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/5.37, allocations: 52.84 kB / 3.603 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/5.371, allocations: 211.7 kB / 3.603 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003102/5.371, allocations: 0.6108 MB / 3.603 GB, free: 19.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/5.372, allocations: 127.8 kB / 3.604 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/5.372, allocations: 43.95 kB / 3.604 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-06/5.372, allocations: 4 kB / 3.604 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/5.374, allocations: 0.9388 MB / 3.605 GB, free: 18.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/5.374, allocations: 4 kB / 3.605 GB, free: 18.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/5.374, allocations: 49.23 kB / 3.605 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/5.375, allocations: 219.8 kB / 3.605 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/5.376, allocations: 1.465 MB / 3.606 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/5.377, allocations: 139.8 kB / 3.606 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/5.377, allocations: 40.05 kB / 3.606 GB, free: 16.77 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001826/5.377, allocations: 170.3 kB / 3.607 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/5.377, allocations: 146.2 kB / 3.607 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/5.379, allocations: 1.111 MB / 3.608 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/5.379, allocations: 8 kB / 3.608 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/5.379, allocations: 3.984 kB / 3.608 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/5.38, allocations: 0.9894 MB / 3.609 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/5.384, allocations: 2.726 MB / 3.611 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/5.384, allocations: 7.938 kB / 3.611 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/5.385, allocations: 204.2 kB / 3.612 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/5.385, allocations: 40.84 kB / 3.612 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/5.385, allocations: 23.89 kB / 3.612 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002309/5.385, allocations: 0.599 MB / 3.612 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/5.385, allocations: 4 kB / 3.612 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002015/5.387, allocations: 2.036 MB / 3.614 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/5.388, allocations: 339.2 kB / 3.615 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/5.388, allocations: 8 kB / 3.615 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/5.389, allocations: 131.7 kB / 3.615 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/5.389, allocations: 63.72 kB / 3.615 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/5.389, allocations: 35.98 kB / 3.615 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006822/5.39, allocations: 0.707 MB / 3.615 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001979/5.392, allocations: 0.824 MB / 3.616 GB, free: 6.227 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002501/5.394, allocations: 2.632 MB / 3.619 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001822/5.396, allocations: 1.589 MB / 3.62 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/5.396, allocations: 4 kB / 3.62 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/5.397, allocations: 0.5134 MB / 3.621 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/5.399, allocations: 0.6705 MB / 3.622 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/5.405, allocations: 2.634 MB / 3.624 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/5.407, allocations: 1.497 MB / 3.626 GB, free: 12.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/5.407, allocations: 0 / 3.626 GB, free: 12.68 MB / 0.698 GB Notification: Performance of Templates: time 0.272/5.679, allocations: 44.33 MB / 3.669 GB, free: 148.2 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)