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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009069/0.009069, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9885/0.9885, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.000505, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1927, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6402/0.8329, allocations: 250.2 MB / 0.8323 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.85, allocations: 9.604 MB / 0.8417 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.8528, allocations: 67.56 kB / 0.8417 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.8556, allocations: 0.816 MB / 0.8425 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007339/0.8629, allocations: 2.486 MB / 0.845 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005889/0.8688, allocations: 1.934 MB / 0.8469 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00837/0.8772, allocations: 5.45 MB / 0.8522 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.8803, allocations: 1.389 MB / 0.8535 GB, free: 12.31 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.885, allocations: 1.692 MB / 0.8552 GB, free: 10.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.8886, allocations: 1.253 MB / 0.8564 GB, free: 9.363 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004713/0.8891, allocations: 64 kB / 0.8565 GB, free: 9.301 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/0.8958, allocations: 3.495 MB / 0.8599 GB, free: 5.797 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009043/0.8968, allocations: 482.1 kB / 0.8603 GB, free: 5.324 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.8987, allocations: 0.9068 MB / 0.8612 GB, free: 4.406 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006845/0.9055, allocations: 3.691 MB / 0.8648 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9056, allocations: 4 kB / 0.8648 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9056, allocations: 0 / 0.8648 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001108/0.9057, allocations: 0 / 0.8648 GB, free: 0.6992 MB / 0.67 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.2725/1.178, allocations: 2.119 MB / 0.8669 GB, free: 221.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.178, allocations: 9.938 kB / 0.8669 GB, free: 221.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/1.182, allocations: 0.6561 MB / 0.8676 GB, free: 221.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/1.185, allocations: 1.379 MB / 0.8689 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004106/1.186, allocations: 161.8 kB / 0.8691 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/1.186, allocations: 127.4 kB / 0.8692 GB, free: 220.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/1.189, allocations: 1.462 MB / 0.8706 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/1.189, allocations: 6.969 kB / 0.8706 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.19, allocations: 48.84 kB / 0.8707 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/1.19, allocations: 44.5 kB / 0.8707 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/1.192, allocations: 1.224 MB / 0.8719 GB, free: 220.6 MB / 0.67 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.007148/1.2, allocations: 5.771 MB / 0.8775 GB, free: 217.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/1.201, allocations: 1.052 MB / 0.8786 GB, free: 216.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/1.202, allocations: 0.5495 MB / 0.8791 GB, free: 216.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/1.203, allocations: 325.7 kB / 0.8794 GB, free: 216.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/1.204, allocations: 0.5848 MB / 0.88 GB, free: 216.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 4.068e-06/1.204, allocations: 0 / 0.88 GB, free: 216.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=87): time 0.00677/1.21, allocations: 3.256 MB / 0.8832 GB, free: 214.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.211, allocations: 90.59 kB / 0.8832 GB, free: 214.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.212, allocations: 1.305 MB / 0.8845 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.212, allocations: 50.33 kB / 0.8846 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/1.213, allocations: 0.7343 MB / 0.8853 GB, free: 213.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/1.213, allocations: 306.7 kB / 0.8856 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.213, allocations: 87.5 kB / 0.8857 GB, free: 213 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/1.213, allocations: 345 kB / 0.886 GB, free: 212.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/1.214, allocations: 437.4 kB / 0.8864 GB, free: 212.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/1.215, allocations: 0.6611 MB / 0.8871 GB, free: 212.2 MB / 0.67 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.01371/1.229, allocations: 3.996 MB / 0.891 GB, free: 210.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/1.229, allocations: 0 / 0.891 GB, free: 210.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003085/1.232, allocations: 1.395 MB / 0.8923 GB, free: 210.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.232, allocations: 266.2 kB / 0.8926 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.232, allocations: 7.438 kB / 0.8926 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/1.233, allocations: 72.86 kB / 0.8926 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009274/1.234, allocations: 221.2 kB / 0.8929 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003855/1.234, allocations: 0.5926 MB / 0.8934 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.236, allocations: 140.1 kB / 0.8936 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/1.236, allocations: 40.34 kB / 0.8936 GB, free: 209.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/1.236, allocations: 5.25 kB / 0.8936 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002198/1.238, allocations: 1.228 MB / 0.8948 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/1.238, allocations: 4.969 kB / 0.8948 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/1.238, allocations: 49.11 kB / 0.8949 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/1.239, allocations: 221.8 kB / 0.8951 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/1.24, allocations: 1.616 MB / 0.8967 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.242, allocations: 143 kB / 0.8968 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/1.242, allocations: 39.34 kB / 0.8968 GB, free: 207.3 MB / 0.67 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: 20 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007191/1.242, allocations: 0.5051 MB / 0.8973 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.243, allocations: 163.2 kB / 0.8975 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/1.245, allocations: 1.265 MB / 0.8987 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.245, allocations: 7.375 kB / 0.8987 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.245, allocations: 0.875 kB / 0.8987 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002135/1.247, allocations: 1.147 MB / 0.8998 GB, free: 205.8 MB / 0.67 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.005387/1.253, allocations: 3.003 MB / 0.9028 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.253, allocations: 3.906 kB / 0.9028 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/1.254, allocations: 189.4 kB / 0.903 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/1.254, allocations: 52.59 kB / 0.903 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/1.254, allocations: 24.12 kB / 0.903 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002975/1.254, allocations: 0.5944 MB / 0.9036 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.254, allocations: 10.69 kB / 0.9036 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/1.258, allocations: 1.992 MB / 0.9056 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/1.259, allocations: 332.3 kB / 0.9059 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/1.259, allocations: 23.09 kB / 0.9059 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.26, allocations: 118.4 kB / 0.906 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.26, allocations: 64.39 kB / 0.9061 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/1.26, allocations: 36.17 kB / 0.9061 GB, free: 202.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001305/1.262, allocations: 0.8903 MB / 0.907 GB, free: 202.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/1.262, allocations: 0 / 0.907 GB, free: 202.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002256/1.264, allocations: 0.666 MB / 0.9076 GB, free: 202.1 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005651/1.265, allocations: 295.8 kB / 0.9079 GB, free: 201.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003697/1.268, allocations: 1.972 MB / 0.9098 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.268, allocations: 1.188 kB / 0.9098 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.269, allocations: 0.6025 MB / 0.9104 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/1.274, allocations: 0.7982 MB / 0.9112 GB, free: 200.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007006/1.281, allocations: 3.979 MB / 0.9151 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/1.282, allocations: 1.333 MB / 0.9164 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001631/1.283, allocations: 366 kB / 0.9167 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/1.284, allocations: 111.5 kB / 0.9169 GB, free: 197.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.284, allocations: 0 / 0.9169 GB, free: 197.5 MB / 0.67 GB Notification: Performance of Templates: time 0.04445/1.328, allocations: 27.61 MB / 0.9438 GB, free: 185.2 MB / 0.67 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)