Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3022/0.3022, allocations: 55.01 MB / 69.96 MB, free: 8.664 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00127/0.00127, allocations: 188.1 kB / 83.98 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.693/1.693, allocations: 194.4 MB / 292.3 MB, free: 3.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001678/0.001678, allocations: 108.2 kB / 350.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.393, allocations: 2.146 GB / 2.611 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004058/6.393, allocations: 93.62 kB / 2.611 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.259/10.65, allocations: 1.003 GB / 3.614 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.775e-06/10.65, allocations: 0 / 3.614 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000336/10.65, allocations: 48.69 kB / 3.614 GB, free: 53.88 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.008529/10.66, allocations: 2.529 MB / 3.617 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/10.66, allocations: 7.656 kB / 3.617 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/10.67, allocations: 0.6044 MB / 3.618 GB, free: 52.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005478/10.67, allocations: 1.618 MB / 3.619 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/10.67, allocations: 103.3 kB / 3.619 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/10.67, allocations: 139 kB / 3.619 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/10.68, allocations: 1.608 MB / 3.621 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/10.68, allocations: 2.719 kB / 3.621 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/10.68, allocations: 59.88 kB / 3.621 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/10.68, allocations: 50.11 kB / 3.621 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/10.68, allocations: 1.279 MB / 3.622 GB, free: 51.96 MB / 0.5261 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.01108/10.69, allocations: 6.199 MB / 3.628 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/10.69, allocations: 1.055 MB / 3.629 GB, free: 49.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/10.7, allocations: 112 kB / 3.629 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/10.7, allocations: 0.6967 MB / 3.63 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 3.978e-06/10.7, allocations: 0 / 3.63 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80): time 0.004788/10.7, allocations: 1.708 MB / 3.632 GB, free: 48.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/10.7, allocations: 478.8 kB / 3.632 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/10.7, allocations: 1.268 MB / 3.634 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002499/10.7, allocations: 46.23 kB / 3.634 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/10.71, allocations: 0.8262 MB / 3.634 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/10.71, allocations: 276 kB / 3.635 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/10.71, allocations: 21.41 kB / 3.635 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/10.71, allocations: 338.7 kB / 3.635 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009059/10.71, allocations: 419.2 kB / 3.635 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/10.71, allocations: 0.7354 MB / 3.636 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/10.71, allocations: 0.5771 MB / 3.637 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/10.71, allocations: 1.531 kB / 3.637 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0037/10.71, allocations: 1.442 MB / 3.638 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007194/10.71, allocations: 2.166 MB / 3.64 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/10.71, allocations: 7.188 kB / 3.64 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/10.71, allocations: 85.98 kB / 3.64 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009566/10.72, allocations: 196.4 kB / 3.64 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005819/10.72, allocations: 0.6151 MB / 3.641 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/10.72, allocations: 199.8 kB / 3.641 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/10.72, allocations: 47.2 kB / 3.641 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/10.72, allocations: 6.156 kB / 3.641 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002226/10.72, allocations: 1.246 MB / 3.643 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/10.72, allocations: 3.938 kB / 3.643 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/10.72, allocations: 50.39 kB / 3.643 GB, free: 43.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/10.72, allocations: 186.6 kB / 3.643 GB, free: 43.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/10.72, allocations: 1.556 MB / 3.644 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/10.73, allocations: 169.8 kB / 3.644 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/10.73, allocations: 45 kB / 3.644 GB, free: 41.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (humSte.vol.i_w,humDyn.vol.i_w,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * 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.001404/10.73, allocations: 0.5339 MB / 3.645 GB, free: 41.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/10.73, allocations: 175 kB / 3.645 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/10.73, allocations: 1.18 MB / 3.646 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/10.73, allocations: 8.344 kB / 3.646 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/10.73, allocations: 3.188 kB / 3.646 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002137/10.73, allocations: 1.051 MB / 3.647 GB, free: 41.18 MB / 0.5261 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.006521/10.74, allocations: 2.904 MB / 3.65 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/10.74, allocations: 3.562 kB / 3.65 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/10.74, allocations: 159.6 kB / 3.65 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/10.74, allocations: 68.91 kB / 3.65 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/10.74, allocations: 24.56 kB / 3.65 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/10.74, allocations: 1.765 MB / 3.652 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/10.74, allocations: 5.391 kB / 3.652 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/10.75, allocations: 1.877 MB / 3.654 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/10.75, allocations: 370.5 kB / 3.654 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005942/10.75, allocations: 25.97 kB / 3.654 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/10.75, allocations: 102.8 kB / 3.654 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/10.75, allocations: 45.2 kB / 3.655 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/10.75, allocations: 31.09 kB / 3.655 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002292/10.75, allocations: 0.9859 MB / 3.655 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/10.75, allocations: 0 / 3.655 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004978/10.76, allocations: 1.083 MB / 3.657 GB, free: 38.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (70): * Single equations (assignments): 68 * 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.004126/10.76, allocations: 2.301 MB / 3.659 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004071/10.77, allocations: 2.055 MB / 3.661 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/10.77, allocations: 0 / 3.661 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/10.77, allocations: 0.6697 MB / 3.661 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/10.77, allocations: 0.8527 MB / 3.662 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009242/10.78, allocations: 3.893 MB / 3.666 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/10.78, allocations: 1.413 MB / 3.667 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002718/10.79, allocations: 399.2 kB / 3.668 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/10.79, allocations: 116.1 kB / 3.668 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.203e-06/10.79, allocations: 0 / 3.668 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.08568/10.87, allocations: 56.35 MB / 3.723 GB, free: 21.56 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1)