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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00651/0.00651, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7085/0.7085, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.361/1.361, allocations: 223.2 MB / 406.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00087/0.0008701, allocations: 95.42 kB / 489.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3807, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.169/4.55, allocations: 1.895 GB / 2.545 GB, free: 41.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/4.55, allocations: 89.2 kB / 2.545 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.224/8.774, allocations: 1.051 GB / 3.596 GB, free: 29.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/8.774, allocations: 0 / 3.596 GB, free: 29.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001761/8.775, allocations: 56.14 kB / 3.596 GB, free: 29.52 MB / 0.698 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.005768/8.78, allocations: 2.367 MB / 3.598 GB, free: 27.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/8.781, allocations: 8.031 kB / 3.598 GB, free: 27.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/8.784, allocations: 0.6376 MB / 3.599 GB, free: 26.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/8.788, allocations: 1.446 MB / 3.6 GB, free: 24.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/8.788, allocations: 170.2 kB / 3.6 GB, free: 24.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/8.788, allocations: 123.9 kB / 3.6 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/8.791, allocations: 1.47 MB / 3.602 GB, free: 23.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/8.791, allocations: 0 / 3.602 GB, free: 23.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/8.791, allocations: 52 kB / 3.602 GB, free: 23.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/8.791, allocations: 50.2 kB / 3.602 GB, free: 22.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/8.793, allocations: 1.258 MB / 3.603 GB, free: 21.72 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008139/8.801, allocations: 5.989 MB / 3.609 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/8.803, allocations: 1.142 MB / 3.61 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/8.803, allocations: 307.9 kB / 3.61 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/8.805, allocations: 0.6164 MB / 3.611 GB, free: 13.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.918e-06/8.805, allocations: 0 / 3.611 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.007185/8.812, allocations: 3.471 MB / 3.614 GB, free: 9.621 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/8.812, allocations: 192.6 kB / 3.614 GB, free: 9.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/8.813, allocations: 1.134 MB / 3.616 GB, free: 8.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.334e-05/8.813, allocations: 41.7 kB / 3.616 GB, free: 8.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/8.814, allocations: 0.7444 MB / 3.616 GB, free: 7.449 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/8.814, allocations: 295.7 kB / 3.617 GB, free: 7.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/8.814, allocations: 16 kB / 3.617 GB, free: 7.141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/8.814, allocations: 337.9 kB / 3.617 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/8.815, allocations: 449.7 kB / 3.617 GB, free: 6.367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000991/8.816, allocations: 0.6801 MB / 3.618 GB, free: 5.59 MB / 0.698 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.0112/8.827, allocations: 2.872 MB / 3.621 GB, free: 2.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/8.827, allocations: 11.95 kB / 3.621 GB, free: 2.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002629/8.83, allocations: 1.369 MB / 3.622 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005197/8.831, allocations: 1.474 MB / 3.624 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/8.831, allocations: 4 kB / 3.624 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/8.831, allocations: 56.81 kB / 3.624 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/8.832, allocations: 211.7 kB / 3.624 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005687/8.832, allocations: 0.5991 MB / 3.625 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/8.834, allocations: 135.8 kB / 3.625 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/8.835, allocations: 39.98 kB / 3.625 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/8.835, allocations: 4 kB / 3.625 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002617/8.837, allocations: 1.224 MB / 3.626 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/8.837, allocations: 4 kB / 3.626 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/8.837, allocations: 49.27 kB / 3.626 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/8.838, allocations: 211.7 kB / 3.626 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/8.84, allocations: 1.611 MB / 3.628 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/8.842, allocations: 139.8 kB / 3.628 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/8.842, allocations: 39.98 kB / 3.628 GB, free: 11.18 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 () * Number of clocked 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.001389/8.844, allocations: 0.5025 MB / 3.628 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/8.844, allocations: 162.1 kB / 3.629 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/8.847, allocations: 1.354 MB / 3.63 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/8.847, allocations: 8 kB / 3.63 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/8.847, allocations: 0 / 3.63 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002415/8.849, allocations: 1.211 MB / 3.631 GB, free: 7.867 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006447/8.856, allocations: 3.132 MB / 3.634 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/8.856, allocations: 4 kB / 3.634 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/8.857, allocations: 196.2 kB / 3.634 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/8.857, allocations: 52.78 kB / 3.634 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/8.857, allocations: 27.98 kB / 3.634 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004621/8.858, allocations: 0.5913 MB / 3.635 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/8.858, allocations: 7.938 kB / 3.635 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/8.862, allocations: 2.367 MB / 3.637 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009741/8.863, allocations: 351 kB / 3.638 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/8.863, allocations: 27.95 kB / 3.638 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/8.864, allocations: 139.7 kB / 3.638 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/8.864, allocations: 52.44 kB / 3.638 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/8.865, allocations: 47.92 kB / 3.638 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.5932/9.458, allocations: 0.8834 MB / 3.639 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.233e-06/9.458, allocations: 0.875 kB / 3.639 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006209/9.464, allocations: 0.9402 MB / 3.64 GB, free: 100.9 MB / 0.7136 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) * Number of clocked states: 0 () * 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.005728/9.47, allocations: 2.363 MB / 3.642 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004836/9.475, allocations: 1.962 MB / 3.644 GB, free: 99.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/9.475, allocations: 0.5312 kB / 3.644 GB, free: 99.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/9.476, allocations: 0.6354 MB / 3.644 GB, free: 99.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/9.481, allocations: 0.812 MB / 3.645 GB, free: 99.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/9.489, allocations: 3.919 MB / 3.649 GB, free: 98.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/9.489, allocations: 1.371 MB / 3.65 GB, free: 97.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002041/9.492, allocations: 376 kB / 3.651 GB, free: 97.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/9.492, allocations: 113.5 kB / 3.651 GB, free: 97.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.475e-06/9.492, allocations: 2.875 kB / 3.651 GB, free: 97.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.09071/9.583, allocations: 54.16 MB / 3.704 GB, free: 95.91 MB / 0.7136 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)