Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008784/0.0008784, allocations: 92.23 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.005668/0.005668, allocations: 169.4 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.397/1.397, allocations: 223.2 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/package.mo): time 0.7679/0.7679, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 8 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6731/1.092, allocations: 250.2 MB / 0.828 GB, free: 17.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01271/1.105, allocations: 9.607 MB / 0.8374 GB, free: 17.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/1.107, allocations: 65.91 kB / 0.8374 GB, free: 17.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/1.109, allocations: 0.82 MB / 0.8382 GB, free: 17.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006417/1.115, allocations: 2.488 MB / 0.8407 GB, free: 17.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005568/1.121, allocations: 1.935 MB / 0.8426 GB, free: 16.97 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007365/1.128, allocations: 5.444 MB / 0.8479 GB, free: 16.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/1.131, allocations: 1.398 MB / 0.8492 GB, free: 16.72 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/1.134, allocations: 1.686 MB / 0.8509 GB, free: 16.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/1.138, allocations: 1.255 MB / 0.8521 GB, free: 16.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/1.138, allocations: 60.72 kB / 0.8522 GB, free: 16.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00606/1.144, allocations: 3.494 MB / 0.8556 GB, free: 16.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005225/1.144, allocations: 477.8 kB / 0.856 GB, free: 16.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/1.146, allocations: 0.9105 MB / 0.8569 GB, free: 16.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006456/1.152, allocations: 3.694 MB / 0.8605 GB, free: 16.42 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.152, allocations: 0 / 0.8605 GB, free: 16.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.913e-06/1.152, allocations: 0 / 0.8605 GB, free: 16.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.774e-05/1.152, allocations: 0 / 0.8605 GB, free: 16.42 MB / 0.6387 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.003766/1.156, allocations: 2.124 MB / 0.8626 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.156, allocations: 11.94 kB / 0.8626 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/1.16, allocations: 0.6583 MB / 0.8633 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/1.163, allocations: 1.374 MB / 0.8646 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/1.164, allocations: 160.1 kB / 0.8648 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/1.164, allocations: 129.2 kB / 0.8649 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.167, allocations: 1.453 MB / 0.8663 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/1.167, allocations: 3.5 kB / 0.8663 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.167, allocations: 55.14 kB / 0.8664 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/1.167, allocations: 52.3 kB / 0.8664 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/1.17, allocations: 1.228 MB / 0.8676 GB, free: 14.37 MB / 0.6387 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.007214/1.177, allocations: 5.772 MB / 0.8732 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.179, allocations: 1.056 MB / 0.8743 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009917/1.18, allocations: 0.5455 MB / 0.8748 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005437/1.18, allocations: 330.7 kB / 0.8751 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.181, allocations: 0.5811 MB / 0.8757 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/1.181, allocations: 0 / 0.8757 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.007292/1.189, allocations: 3.247 MB / 0.8789 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.189, allocations: 89.11 kB / 0.8789 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.19, allocations: 1.318 MB / 0.8802 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-05/1.19, allocations: 42.08 kB / 0.8803 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/1.191, allocations: 0.7364 MB / 0.881 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/1.191, allocations: 295.9 kB / 0.8813 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.191, allocations: 93.59 kB / 0.8814 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.064e-05/1.191, allocations: 345.7 kB / 0.8817 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/1.192, allocations: 444.1 kB / 0.8821 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.193, allocations: 0.6627 MB / 0.8828 GB, free: 8.68 MB / 0.6387 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.01415/1.207, allocations: 3.986 MB / 0.8867 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.207, allocations: 5.375 kB / 0.8867 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002943/1.21, allocations: 1.398 MB / 0.888 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/1.21, allocations: 269.8 kB / 0.8883 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.21, allocations: 3.25 kB / 0.8883 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/1.211, allocations: 79.62 kB / 0.8884 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.212, allocations: 218.3 kB / 0.8886 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003813/1.212, allocations: 0.5876 MB / 0.8891 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.214, allocations: 149.2 kB / 0.8893 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.986e-05/1.214, allocations: 40.56 kB / 0.8893 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/1.214, allocations: 4.578 kB / 0.8893 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002468/1.217, allocations: 1.23 MB / 0.8905 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.217, allocations: 3.344 kB / 0.8905 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/1.217, allocations: 52.02 kB / 0.8906 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009054/1.218, allocations: 224 kB / 0.8908 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/1.219, allocations: 1.612 MB / 0.8924 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.22, allocations: 138.3 kB / 0.8925 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/1.221, allocations: 41.42 kB / 0.8925 GB, free: 4.336 MB / 0.6387 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.0008409/1.221, allocations: 0.5078 MB / 0.893 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/1.222, allocations: 154.4 kB / 0.8932 GB, free: 4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/1.224, allocations: 1.27 MB / 0.8944 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.224, allocations: 10.06 kB / 0.8944 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.224, allocations: 0 / 0.8944 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/1.226, allocations: 1.139 MB / 0.8955 GB, free: 3.32 MB / 0.6387 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.005693/1.232, allocations: 2.992 MB / 0.8985 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.232, allocations: 6.906 kB / 0.8985 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/1.233, allocations: 186 kB / 0.8987 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/1.233, allocations: 58.5 kB / 0.8987 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/1.233, allocations: 33.98 kB / 0.8987 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002999/1.234, allocations: 0.5857 MB / 0.8993 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.234, allocations: 11.11 kB / 0.8993 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/1.238, allocations: 1.994 MB / 0.9013 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.239, allocations: 330.7 kB / 0.9016 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/1.239, allocations: 23.22 kB / 0.9016 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.241, allocations: 116.8 kB / 0.9017 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.241, allocations: 57.69 kB / 0.9018 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/1.241, allocations: 41.23 kB / 0.9018 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001658/1.243, allocations: 0.8941 MB / 0.9027 GB, free: 412 kB / 0.6387 GB Notification: Performance of sort global known variables: time 4.01e-07/1.243, allocations: 0 / 0.9027 GB, free: 412 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002958/1.246, allocations: 0.674 MB / 0.9033 GB, free: 392 kB / 0.6387 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.0008129/1.246, allocations: 295.2 kB / 0.9036 GB, free: 248 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004322/1.251, allocations: 1.96 MB / 0.9055 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.251, allocations: 4 kB / 0.9055 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.252, allocations: 0.606 MB / 0.9061 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/1.258, allocations: 0.8015 MB / 0.9069 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/1.267, allocations: 3.978 MB / 0.9108 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.268, allocations: 1.336 MB / 0.9121 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00208/1.271, allocations: 376.5 kB / 0.9125 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/1.271, allocations: 111 kB / 0.9126 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/1.271, allocations: 0 / 0.9126 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of Templates: time 0.05291/1.324, allocations: 27.61 MB / 0.9395 GB, free: 13.13 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)