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.001116/0.001116, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7862/0.7862, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.483/1.483, allocations: 221.3 MB / 396.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009574, allocations: 101.3 kB / 479 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.567e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.156, allocations: 81.59 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.665/4.821, allocations: 1.895 GB / 2.53 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/4.822, allocations: 86.2 kB / 2.53 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.564/8.385, allocations: 1.05 GB / 3.579 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/8.385, allocations: 0 / 3.579 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001649/8.385, allocations: 47.98 kB / 3.58 GB, free: 9.09 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.004718/8.39, allocations: 2.067 MB / 3.582 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/8.39, allocations: 8.031 kB / 3.582 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/8.394, allocations: 0.6259 MB / 3.582 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/8.398, allocations: 1.438 MB / 3.584 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/8.398, allocations: 162.2 kB / 3.584 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/8.398, allocations: 131.9 kB / 3.584 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/8.401, allocations: 1.361 MB / 3.585 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/8.401, allocations: 3.953 kB / 3.585 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/8.401, allocations: 59.92 kB / 3.585 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/8.401, allocations: 42.2 kB / 3.585 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/8.403, allocations: 1.051 MB / 3.586 GB, free: 1.941 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.008768/8.411, allocations: 5.996 MB / 3.592 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/8.413, allocations: 0.9621 MB / 3.593 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/8.413, allocations: 471.7 kB / 3.594 GB, free: 10.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/8.414, allocations: 312 kB / 3.594 GB, free: 9.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008306/8.415, allocations: 0.5341 MB / 3.594 GB, free: 9.219 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.617e-06/8.415, allocations: 0 / 3.594 GB, free: 9.219 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.00512/8.42, allocations: 2.445 MB / 3.597 GB, free: 6.695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/8.42, allocations: 196.7 kB / 3.597 GB, free: 6.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/8.422, allocations: 1.11 MB / 3.598 GB, free: 5.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/8.422, allocations: 49.7 kB / 3.598 GB, free: 5.289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/8.423, allocations: 0.7289 MB / 3.599 GB, free: 4.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/8.423, allocations: 303.6 kB / 3.599 GB, free: 4.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/8.423, allocations: 16 kB / 3.599 GB, free: 4.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001559/8.423, allocations: 345.9 kB / 3.599 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/8.424, allocations: 341.9 kB / 3.6 GB, free: 3.555 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/8.424, allocations: 0.5941 MB / 3.6 GB, free: 2.871 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.01078/8.435, allocations: 2.582 MB / 3.603 GB, free: 260 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/8.435, allocations: 4 kB / 3.603 GB, free: 256 kB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.4497/8.885, allocations: 1.168 MB / 3.604 GB, free: 90.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/8.885, allocations: 1.471 MB / 3.605 GB, free: 88.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/8.885, allocations: 5.859 kB / 3.605 GB, free: 88.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/8.885, allocations: 52.28 kB / 3.605 GB, free: 88.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/8.886, allocations: 213.8 kB / 3.606 GB, free: 88.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003366/8.887, allocations: 0.5893 MB / 3.606 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/8.888, allocations: 139.8 kB / 3.606 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/8.888, allocations: 42 kB / 3.606 GB, free: 88.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/8.888, allocations: 3.875 kB / 3.606 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001716/8.89, allocations: 1.024 MB / 3.607 GB, free: 88.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/8.89, allocations: 5.719 kB / 3.607 GB, free: 88.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/8.89, allocations: 46.81 kB / 3.607 GB, free: 88.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/8.891, allocations: 212.2 kB / 3.608 GB, free: 88.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/8.892, allocations: 1.592 MB / 3.609 GB, free: 86.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/8.894, allocations: 144.8 kB / 3.609 GB, free: 86.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/8.894, allocations: 38.31 kB / 3.609 GB, free: 86.71 MB / 0.698 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.0003142/8.894, allocations: 205.4 kB / 3.61 GB, free: 86.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/8.895, allocations: 162.5 kB / 3.61 GB, free: 86.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/8.897, allocations: 1.142 MB / 3.611 GB, free: 86.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/8.897, allocations: 14.7 kB / 3.611 GB, free: 86.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/8.897, allocations: 0.5625 kB / 3.611 GB, free: 86.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/8.898, allocations: 1.019 MB / 3.612 GB, free: 86.24 MB / 0.698 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.004856/8.903, allocations: 2.947 MB / 3.615 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/8.903, allocations: 6.938 kB / 3.615 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/8.904, allocations: 194.5 kB / 3.615 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/8.904, allocations: 52.8 kB / 3.615 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/8.904, allocations: 27.03 kB / 3.615 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002807/8.905, allocations: 0.5905 MB / 3.616 GB, free: 85.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/8.905, allocations: 8.031 kB / 3.616 GB, free: 85.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/8.907, allocations: 2.073 MB / 3.618 GB, free: 84.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/8.908, allocations: 341.4 kB / 3.618 GB, free: 84.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/8.908, allocations: 24.19 kB / 3.618 GB, free: 84.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/8.909, allocations: 140.2 kB / 3.618 GB, free: 84.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/8.909, allocations: 60.42 kB / 3.618 GB, free: 84.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/8.91, allocations: 46.19 kB / 3.618 GB, free: 84.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001146/8.911, allocations: 0.8692 MB / 3.619 GB, free: 84.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/8.911, allocations: 0.5469 kB / 3.619 GB, free: 84.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003898/8.915, allocations: 0.9454 MB / 3.62 GB, free: 84.19 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.004612/8.919, allocations: 2.364 MB / 3.622 GB, free: 83.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002956/8.922, allocations: 1.728 MB / 3.624 GB, free: 83.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/8.922, allocations: 1.375 kB / 3.624 GB, free: 83.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008322/8.923, allocations: 0.5335 MB / 3.625 GB, free: 83.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/8.927, allocations: 0.8146 MB / 3.625 GB, free: 83.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/8.933, allocations: 2.618 MB / 3.628 GB, free: 82.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008482/8.934, allocations: 1.373 MB / 3.629 GB, free: 81.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002329/8.936, allocations: 0.4959 MB / 3.63 GB, free: 81.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/8.937, allocations: 84.86 kB / 3.63 GB, free: 81.59 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/8.937, allocations: 2.5 kB / 3.63 GB, free: 81.59 MB / 0.698 GB Notification: Performance of Templates: time 0.07969/9.016, allocations: 62.71 MB / 3.691 GB, free: 79.5 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)