Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001165/0.001165, allocations: 190.4 kB / 7.808 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4489/0.4489, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.4 MB / 342.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 99.33 kB / 415.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.705e-06, allocations: 0 / 493.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3873, allocations: 72.31 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.466/3.853, allocations: 1.885 GB / 2.438 GB, free: 174.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/3.853, allocations: 88.64 kB / 2.438 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.89/6.744, allocations: 1.052 GB / 3.49 GB, free: 36.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002444/6.744, allocations: 49.86 kB / 3.49 GB, free: 36.1 MB / 0.6198 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.005289/6.749, allocations: 2.074 MB / 3.492 GB, free: 33.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/6.749, allocations: 8.031 kB / 3.492 GB, free: 33.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/6.754, allocations: 0.6609 MB / 3.493 GB, free: 33.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/6.757, allocations: 1.471 MB / 3.494 GB, free: 31.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/6.758, allocations: 126.3 kB / 3.495 GB, free: 31.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/6.758, allocations: 75.7 kB / 3.495 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002043/6.76, allocations: 1.032 MB / 3.496 GB, free: 30.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/6.762, allocations: 1.246 MB / 3.497 GB, free: 29.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/6.762, allocations: 0 / 3.497 GB, free: 29.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/6.762, allocations: 0 / 3.497 GB, free: 29.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/6.763, allocations: 42.27 kB / 3.497 GB, free: 29.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008998/6.772, allocations: 6.231 MB / 3.503 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/6.773, allocations: 0.8381 MB / 3.504 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/6.773, allocations: 476.3 kB / 3.504 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/6.774, allocations: 485.4 kB / 3.505 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006613/6.775, allocations: 0.5242 MB / 3.505 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 2.835e-06/6.775, allocations: 0 / 3.505 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87): time 0.00673/6.781, allocations: 2.557 MB / 3.508 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/6.782, allocations: 199.5 kB / 3.508 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/6.784, allocations: 0.9291 MB / 3.509 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/6.784, allocations: 29.7 kB / 3.509 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/6.785, allocations: 497.3 kB / 3.509 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/6.785, allocations: 283.7 kB / 3.51 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/6.785, allocations: 0 / 3.51 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/6.785, allocations: 341.9 kB / 3.51 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/6.786, allocations: 345.9 kB / 3.51 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/6.786, allocations: 0.5765 MB / 3.511 GB, free: 14.43 MB / 0.6198 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.004638/6.791, allocations: 1.658 MB / 3.512 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/6.791, allocations: 0 / 3.512 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002244/6.793, allocations: 1.142 MB / 3.514 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/6.794, allocations: 1.424 MB / 3.515 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/6.794, allocations: 4 kB / 3.515 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/6.794, allocations: 52.75 kB / 3.515 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/6.795, allocations: 215.7 kB / 3.515 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004012/6.795, allocations: 0.6108 MB / 3.516 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/6.797, allocations: 135.8 kB / 3.516 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/6.797, allocations: 36.05 kB / 3.516 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/6.797, allocations: 4 kB / 3.516 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/6.799, allocations: 0.9498 MB / 3.517 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/6.799, allocations: 4 kB / 3.517 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/6.799, allocations: 52.25 kB / 3.517 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009691/6.8, allocations: 215.8 kB / 3.517 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/6.801, allocations: 1.474 MB / 3.519 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/6.803, allocations: 139.8 kB / 3.519 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/6.803, allocations: 43.98 kB / 3.519 GB, free: 6.047 MB / 0.6198 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.0002998/6.803, allocations: 162.5 kB / 3.519 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/6.803, allocations: 146.2 kB / 3.519 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/6.806, allocations: 1.115 MB / 3.52 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/6.806, allocations: 8 kB / 3.52 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/6.806, allocations: 3.906 kB / 3.52 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/6.807, allocations: 0.982 MB / 3.521 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/6.812, allocations: 2.73 MB / 3.524 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/6.812, allocations: 4 kB / 3.524 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/6.813, allocations: 204.2 kB / 3.524 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/6.813, allocations: 40.84 kB / 3.524 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/6.813, allocations: 19.98 kB / 3.524 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003322/6.813, allocations: 0.5952 MB / 3.525 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/6.813, allocations: 4 kB / 3.525 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002992/6.816, allocations: 2.013 MB / 3.527 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008542/6.817, allocations: 335.2 kB / 3.527 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/6.818, allocations: 12 kB / 3.527 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/6.819, allocations: 127.8 kB / 3.527 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/6.819, allocations: 52.5 kB / 3.527 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/6.819, allocations: 39.98 kB / 3.527 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001226/6.821, allocations: 0.7031 MB / 3.528 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003473/6.824, allocations: 0.8295 MB / 3.529 GB, free: 11.55 MB / 0.6355 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.medium.Xi[1],humDyn.vol.dynBal.U,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.004517/6.829, allocations: 2.635 MB / 3.531 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00297/6.832, allocations: 1.594 MB / 3.533 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/6.832, allocations: 1.562 kB / 3.533 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008638/6.833, allocations: 0.5048 MB / 3.533 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/6.837, allocations: 0.68 MB / 3.534 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008463/6.845, allocations: 2.633 MB / 3.536 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/6.847, allocations: 1.486 MB / 3.538 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/6.847, allocations: 0 / 3.538 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of Templates: time 0.3173/7.164, allocations: 44.39 MB / 3.581 GB, free: 119.1 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)