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.001662/0.001662, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8916/0.8916, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.51/1.51, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001039/0.001039, allocations: 100.3 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.422e-05, allocations: 0 / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.479, allocations: 82.3 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.856, allocations: 1.895 GB / 2.528 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/5.857, allocations: 91.89 kB / 2.529 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.907/9.764, allocations: 1.039 GB / 3.567 GB, free: 94.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/9.764, allocations: 0 / 3.567 GB, free: 94.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001604/9.764, allocations: 45.66 kB / 3.567 GB, free: 94.31 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.004549/9.768, allocations: 2.064 MB / 3.569 GB, free: 93.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/9.768, allocations: 7.875 kB / 3.569 GB, free: 93.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/9.772, allocations: 0.6267 MB / 3.57 GB, free: 93.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/9.775, allocations: 1.438 MB / 3.571 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/9.775, allocations: 123 kB / 3.571 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/9.776, allocations: 74.34 kB / 3.572 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001653/9.777, allocations: 0.9809 MB / 3.572 GB, free: 92.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/9.779, allocations: 1.202 MB / 3.574 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/9.779, allocations: 0.5625 kB / 3.574 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/9.779, allocations: 3.906 kB / 3.574 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/9.779, allocations: 43.58 kB / 3.574 GB, free: 92.6 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.007244/9.787, allocations: 5.756 MB / 3.579 GB, free: 90.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/9.788, allocations: 0.9289 MB / 3.58 GB, free: 89.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/9.788, allocations: 454.6 kB / 3.581 GB, free: 89.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/9.789, allocations: 320.8 kB / 3.581 GB, free: 89.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006487/9.789, allocations: 0.4908 MB / 3.581 GB, free: 89.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.307e-06/9.789, allocations: 3.656 kB / 3.581 GB, free: 89.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.005016/9.794, allocations: 2.408 MB / 3.584 GB, free: 88.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/9.794, allocations: 194.5 kB / 3.584 GB, free: 88.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/9.796, allocations: 0.9158 MB / 3.585 GB, free: 88.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/9.796, allocations: 28.73 kB / 3.585 GB, free: 88.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/9.796, allocations: 0.7493 MB / 3.586 GB, free: 88.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/9.796, allocations: 285.2 kB / 3.586 GB, free: 88.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/9.797, allocations: 3.781 kB / 3.586 GB, free: 88.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/9.797, allocations: 346 kB / 3.586 GB, free: 87.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/9.797, allocations: 331.9 kB / 3.587 GB, free: 87.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/9.798, allocations: 0.5622 MB / 3.587 GB, free: 87.54 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.003544/9.801, allocations: 1.548 MB / 3.589 GB, free: 87.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/9.801, allocations: 7.438 kB / 3.589 GB, free: 87.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001895/9.803, allocations: 1.13 MB / 3.59 GB, free: 87.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/9.803, allocations: 1.465 MB / 3.591 GB, free: 85.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/9.803, allocations: 6.438 kB / 3.591 GB, free: 85.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/9.804, allocations: 44.25 kB / 3.591 GB, free: 85.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/9.805, allocations: 216.5 kB / 3.591 GB, free: 85.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000326/9.805, allocations: 0.5882 MB / 3.592 GB, free: 85.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/9.806, allocations: 128.5 kB / 3.592 GB, free: 85.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/9.806, allocations: 39.25 kB / 3.592 GB, free: 85.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.575e-06/9.806, allocations: 2.594 kB / 3.592 GB, free: 85.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00152/9.808, allocations: 0.9611 MB / 3.593 GB, free: 85.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/9.808, allocations: 3.969 kB / 3.593 GB, free: 85.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/9.808, allocations: 49.73 kB / 3.593 GB, free: 85.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/9.809, allocations: 210.7 kB / 3.593 GB, free: 85.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/9.81, allocations: 1.535 MB / 3.595 GB, free: 83.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/9.812, allocations: 123.2 kB / 3.595 GB, free: 83.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/9.812, allocations: 42.2 kB / 3.595 GB, free: 83.84 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.0002915/9.812, allocations: 168.9 kB / 3.595 GB, free: 83.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/9.812, allocations: 147.1 kB / 3.595 GB, free: 83.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/9.814, allocations: 1.093 MB / 3.596 GB, free: 83.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/9.814, allocations: 9.062 kB / 3.596 GB, free: 83.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/9.814, allocations: 3.953 kB / 3.596 GB, free: 83.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/9.816, allocations: 1.002 MB / 3.597 GB, free: 83.34 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.004269/9.82, allocations: 2.745 MB / 3.6 GB, free: 82.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/9.82, allocations: 4.5 kB / 3.6 GB, free: 82.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/9.821, allocations: 197.9 kB / 3.6 GB, free: 82.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/9.821, allocations: 42.72 kB / 3.6 GB, free: 82.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/9.821, allocations: 16.84 kB / 3.6 GB, free: 82.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003224/9.822, allocations: 0.6003 MB / 3.601 GB, free: 82.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/9.822, allocations: 3.781 kB / 3.601 GB, free: 82.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/9.824, allocations: 1.982 MB / 3.603 GB, free: 81.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/9.825, allocations: 334.9 kB / 3.603 GB, free: 81.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/9.825, allocations: 13.86 kB / 3.603 GB, free: 81.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/9.826, allocations: 130.8 kB / 3.603 GB, free: 81.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/9.826, allocations: 57.73 kB / 3.603 GB, free: 81.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/9.826, allocations: 40.05 kB / 3.603 GB, free: 81.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009755/9.827, allocations: 0.698 MB / 3.604 GB, free: 81.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/9.827, allocations: 3.875 kB / 3.604 GB, free: 81.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002792/9.83, allocations: 0.8257 MB / 3.605 GB, free: 81.27 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.003868/9.834, allocations: 2.628 MB / 3.607 GB, free: 80.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002571/9.837, allocations: 1.635 MB / 3.609 GB, free: 80.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/9.837, allocations: 3.125 kB / 3.609 GB, free: 80.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/9.837, allocations: 0.511 MB / 3.61 GB, free: 80.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/9.841, allocations: 0.7064 MB / 3.61 GB, free: 80.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/9.847, allocations: 2.555 MB / 3.613 GB, free: 79.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007387/9.848, allocations: 1.374 MB / 3.614 GB, free: 78.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002117/9.85, allocations: 460.8 kB / 3.614 GB, free: 78.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/9.85, allocations: 82.09 kB / 3.615 GB, free: 78.6 MB / 0.698 GB Notification: Performance of SimCode: time 9.71e-07/9.85, allocations: 0 / 3.615 GB, free: 78.6 MB / 0.698 GB Notification: Performance of Templates: time 0.05849/9.909, allocations: 39.52 MB / 3.653 GB, free: 53.84 MB / 0.698 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)