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.001556/0.001555, allocations: 174.7 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-master/package.mo): time 0.8481/0.8481, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.673/1.673, allocations: 221.3 MB / 400.4 MB, free: 5.746 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.0009533/0.0009537, allocations: 100.4 kB / 483.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.495e-05, allocations: 2 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.173, allocations: 82.31 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.258, allocations: 1.895 GB / 2.536 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/5.258, allocations: 89.64 kB / 2.536 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.957/9.215, allocations: 1.05 GB / 3.585 GB, free: 31.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/9.215, allocations: 4 kB / 3.585 GB, free: 31.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002125/9.216, allocations: 51.38 kB / 3.585 GB, free: 31.47 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.006096/9.222, allocations: 2.054 MB / 3.587 GB, free: 29.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/9.222, allocations: 12.03 kB / 3.587 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007255/9.229, allocations: 0.6373 MB / 3.588 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005402/9.235, allocations: 1.437 MB / 3.589 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005604/9.235, allocations: 162.2 kB / 3.59 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004706/9.236, allocations: 123.9 kB / 3.59 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/9.239, allocations: 1.365 MB / 3.591 GB, free: 25.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/9.239, allocations: 3.938 kB / 3.591 GB, free: 25.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/9.239, allocations: 55.95 kB / 3.591 GB, free: 25.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.713e-05/9.239, allocations: 46.25 kB / 3.591 GB, free: 25.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/9.242, allocations: 1.044 MB / 3.592 GB, free: 24.33 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 preOpt removeSimpleEquations (simulation): time 0.01086/9.253, allocations: 5.993 MB / 3.598 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/9.255, allocations: 0.9564 MB / 3.599 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008659/9.255, allocations: 477.1 kB / 3.599 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/9.256, allocations: 312 kB / 3.6 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009913/9.257, allocations: 0.5224 MB / 3.6 GB, free: 15.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.146e-06/9.257, allocations: 0 / 3.6 GB, free: 15.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.006339/9.263, allocations: 2.46 MB / 3.603 GB, free: 13.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/9.264, allocations: 192.7 kB / 3.603 GB, free: 12.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/9.266, allocations: 1.117 MB / 3.604 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/9.266, allocations: 45.7 kB / 3.604 GB, free: 11.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/9.266, allocations: 0.7328 MB / 3.605 GB, free: 10.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/9.267, allocations: 295.7 kB / 3.605 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/9.267, allocations: 16 kB / 3.605 GB, free: 10.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/9.267, allocations: 345.9 kB / 3.605 GB, free: 10.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007995/9.268, allocations: 345.9 kB / 3.606 GB, free: 9.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/9.269, allocations: 0.5863 MB / 3.606 GB, free: 9.262 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.01618/9.285, allocations: 2.594 MB / 3.609 GB, free: 6.637 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/9.285, allocations: 4 kB / 3.609 GB, free: 6.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003096/9.288, allocations: 1.168 MB / 3.61 GB, free: 5.449 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/9.288, allocations: 1.468 MB / 3.611 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/9.288, allocations: 8 kB / 3.611 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/9.289, allocations: 60.81 kB / 3.611 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/9.29, allocations: 207.7 kB / 3.612 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004945/9.291, allocations: 0.5952 MB / 3.612 GB, free: 2.949 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/9.293, allocations: 143.8 kB / 3.612 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/9.294, allocations: 39.98 kB / 3.612 GB, free: 2.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/9.294, allocations: 4.625 kB / 3.612 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002504/9.296, allocations: 1.02 MB / 3.613 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/9.296, allocations: 11.94 kB / 3.613 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/9.296, allocations: 44.84 kB / 3.613 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/9.298, allocations: 208.1 kB / 3.614 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/9.3, allocations: 1.6 MB / 3.615 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/9.302, allocations: 139.8 kB / 3.615 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/9.302, allocations: 43.92 kB / 3.615 GB, free: 15.55 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 () * 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.0004641/9.303, allocations: 200 kB / 3.616 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/9.303, allocations: 162 kB / 3.616 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/9.307, allocations: 1.151 MB / 3.617 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/9.307, allocations: 8 kB / 3.617 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/9.307, allocations: 7.938 kB / 3.617 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002491/9.309, allocations: 1.013 MB / 3.618 GB, free: 12.94 MB / 0.7136 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.005792/9.315, allocations: 2.931 MB / 3.621 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/9.315, allocations: 8 kB / 3.621 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/9.316, allocations: 196.2 kB / 3.621 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/9.316, allocations: 48.78 kB / 3.621 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/9.316, allocations: 31.98 kB / 3.621 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003998/9.317, allocations: 0.5913 MB / 3.622 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/9.317, allocations: 11.94 kB / 3.622 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/9.32, allocations: 2.068 MB / 3.624 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/9.321, allocations: 351 kB / 3.624 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/9.321, allocations: 28 kB / 3.624 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/9.322, allocations: 143.8 kB / 3.624 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/9.322, allocations: 60.39 kB / 3.624 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/9.322, allocations: 35.97 kB / 3.624 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001398/9.324, allocations: 0.8655 MB / 3.625 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.605e-06/9.324, allocations: 0 / 3.625 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003374/9.327, allocations: 0.9451 MB / 3.626 GB, free: 4.277 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) * 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.004327/9.332, allocations: 2.363 MB / 3.628 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.4407/9.772, allocations: 1.718 MB / 3.63 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/9.772, allocations: 1.656 kB / 3.63 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/9.774, allocations: 0.5368 MB / 3.63 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/9.778, allocations: 0.815 MB / 3.631 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/9.786, allocations: 2.623 MB / 3.634 GB, free: 99.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/9.787, allocations: 1.377 MB / 3.635 GB, free: 99.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002512/9.79, allocations: 0.4921 MB / 3.636 GB, free: 99.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/9.79, allocations: 85.75 kB / 3.636 GB, free: 99.18 MB / 0.7136 GB Notification: Performance of SimCode: time 1.643e-06/9.79, allocations: 0 / 3.636 GB, free: 99.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.09145/9.882, allocations: 62.71 MB / 3.697 GB, free: 97.5 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)