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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8162/0.8162, allocations: 130.7 MB / 138.7 MB, free: 3.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.5 MB / 391.8 MB, free: 14.14 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.0008946/0.0008947, allocations: 96.89 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.024e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5246, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.115/5.639, allocations: 1.894 GB / 2.523 GB, free: 55.89 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/5.639, allocations: 90.27 kB / 2.523 GB, free: 55.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.064/9.704, allocations: 1.039 GB / 3.561 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.162e-06/9.704, allocations: 0 / 3.561 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000258/9.704, allocations: 46.03 kB / 3.561 GB, free: 37.34 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.0052/9.709, allocations: 2.073 MB / 3.563 GB, free: 35.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/9.709, allocations: 8.031 kB / 3.563 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/9.714, allocations: 0.6266 MB / 3.564 GB, free: 34.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004247/9.718, allocations: 1.442 MB / 3.565 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/9.718, allocations: 114.3 kB / 3.566 GB, free: 33.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/9.719, allocations: 76 kB / 3.566 GB, free: 32.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002374/9.721, allocations: 0.9809 MB / 3.567 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/9.724, allocations: 1.196 MB / 3.568 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/9.724, allocations: 0 / 3.568 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/9.724, allocations: 4 kB / 3.568 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/9.724, allocations: 42.22 kB / 3.568 GB, free: 30.64 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.009675/9.734, allocations: 5.768 MB / 3.573 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/9.735, allocations: 0.9282 MB / 3.574 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/9.736, allocations: 452.2 kB / 3.575 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/9.736, allocations: 316 kB / 3.575 GB, free: 22.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006866/9.737, allocations: 0.4897 MB / 3.576 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/9.737, allocations: 3.938 kB / 3.576 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.005913/9.743, allocations: 2.408 MB / 3.578 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/9.743, allocations: 196.7 kB / 3.578 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/9.745, allocations: 0.9212 MB / 3.579 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/9.745, allocations: 29.7 kB / 3.579 GB, free: 18.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/9.746, allocations: 0.7396 MB / 3.58 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/9.746, allocations: 291.7 kB / 3.58 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/9.746, allocations: 0 / 3.58 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/9.746, allocations: 338 kB / 3.58 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/9.746, allocations: 338.5 kB / 3.581 GB, free: 16.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/9.747, allocations: 0.5594 MB / 3.581 GB, free: 16.27 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.003896/9.751, allocations: 1.542 MB / 3.583 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/9.751, allocations: 4 kB / 3.583 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002388/9.753, allocations: 1.141 MB / 3.584 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005427/9.754, allocations: 1.47 MB / 3.585 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/9.754, allocations: 4 kB / 3.585 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/9.754, allocations: 44.84 kB / 3.585 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/9.755, allocations: 211.8 kB / 3.586 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004308/9.756, allocations: 0.5952 MB / 3.586 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/9.758, allocations: 123.8 kB / 3.586 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/9.758, allocations: 43.94 kB / 3.586 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/9.758, allocations: 4 kB / 3.586 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001744/9.76, allocations: 0.9559 MB / 3.587 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/9.76, allocations: 4 kB / 3.587 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/9.76, allocations: 45.3 kB / 3.587 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/9.761, allocations: 215.7 kB / 3.587 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/9.762, allocations: 1.54 MB / 3.589 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/9.764, allocations: 123.8 kB / 3.589 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/9.764, allocations: 32 kB / 3.589 GB, free: 7.906 MB / 0.6823 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 () * 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.0002899/9.764, allocations: 170.4 kB / 3.589 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/9.764, allocations: 150.2 kB / 3.589 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/9.766, allocations: 1.098 MB / 3.59 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/9.766, allocations: 8 kB / 3.59 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/9.766, allocations: 0 / 3.59 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/9.768, allocations: 0.9878 MB / 3.591 GB, free: 5.434 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004675/9.772, allocations: 2.754 MB / 3.594 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/9.773, allocations: 4.5 kB / 3.594 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/9.773, allocations: 199.8 kB / 3.594 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/9.774, allocations: 44.8 kB / 3.594 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/9.774, allocations: 19.98 kB / 3.594 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002947/9.774, allocations: 0.5874 MB / 3.595 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/9.774, allocations: 4 kB / 3.595 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/9.777, allocations: 2 MB / 3.597 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/9.777, allocations: 327.2 kB / 3.597 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/9.778, allocations: 12 kB / 3.597 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/9.779, allocations: 124 kB / 3.597 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/9.779, allocations: 68.31 kB / 3.597 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/9.78, allocations: 43.98 kB / 3.597 GB, free: 14.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001492/9.781, allocations: 0.6992 MB / 3.598 GB, free: 14.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/9.781, allocations: 0 / 3.598 GB, free: 14.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003927/9.785, allocations: 0.8317 MB / 3.599 GB, free: 13.37 MB / 0.698 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.004361/9.789, allocations: 2.619 MB / 3.602 GB, free: 10.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003354/9.793, allocations: 1.63 MB / 3.603 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/9.793, allocations: 3.938 kB / 3.603 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/9.794, allocations: 0.5144 MB / 3.604 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/9.798, allocations: 0.7064 MB / 3.604 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/9.806, allocations: 2.556 MB / 3.607 GB, free: 5.031 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/9.807, allocations: 1.374 MB / 3.608 GB, free: 3.621 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002681/9.81, allocations: 459.1 kB / 3.609 GB, free: 3.168 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/9.81, allocations: 87.42 kB / 3.609 GB, free: 3.082 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/9.81, allocations: 0 / 3.609 GB, free: 3.082 MB / 0.698 GB Notification: Performance of Templates: time 0.523/10.33, allocations: 39.52 MB / 3.647 GB, free: 94.01 MB / 0.698 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)