Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 114.7 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 190.5 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 278.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4176, allocations: 86.99 MB / 0.767 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6006/1.018, allocations: 255.8 MB / 1.017 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01304/1.031, allocations: 9.589 MB / 1.026 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/1.034, allocations: 76.34 kB / 1.026 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.036, allocations: 1.008 MB / 1.027 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00611/1.042, allocations: 2.769 MB / 1.03 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/1.047, allocations: 2.175 MB / 1.032 GB, free: 16.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004694/1.052, allocations: 4.192 MB / 1.036 GB, free: 16.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/1.054, allocations: 1.711 MB / 1.038 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/1.058, allocations: 2.053 MB / 1.04 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/1.061, allocations: 1.339 MB / 1.041 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004818/1.061, allocations: 179.8 kB / 1.041 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005335/1.067, allocations: 3.155 MB / 1.044 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008103/1.068, allocations: 0.6025 MB / 1.045 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/1.069, allocations: 1.031 MB / 1.046 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005753/1.075, allocations: 3.715 MB / 1.05 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.075, allocations: 0 / 1.05 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/1.075, allocations: 4 kB / 1.05 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.859e-05/1.075, allocations: 0 / 1.05 GB, free: 12.36 MB / 0.7169 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.004848/1.08, allocations: 2.476 MB / 1.052 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/1.08, allocations: 16.89 kB / 1.052 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/1.084, allocations: 0.625 MB / 1.053 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/1.087, allocations: 1.456 MB / 1.054 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/1.087, allocations: 94.02 kB / 1.054 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/1.087, allocations: 119.7 kB / 1.054 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/1.089, allocations: 1.445 MB / 1.056 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/1.089, allocations: 4 kB / 1.056 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.09, allocations: 49.06 kB / 1.056 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/1.09, allocations: 49.09 kB / 1.056 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.092, allocations: 1.201 MB / 1.057 GB, free: 7.664 MB / 0.7169 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.007006/1.099, allocations: 5.735 MB / 1.063 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.101, allocations: 1.029 MB / 1.064 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009774/1.102, allocations: 0.5354 MB / 1.064 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/1.102, allocations: 318.3 kB / 1.064 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/1.103, allocations: 0.5764 MB / 1.065 GB, free: 204 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.956e-06/1.103, allocations: 0 / 1.065 GB, free: 204 kB / 0.7169 GB Notification: Performance of matching and sorting (n=87): time 0.007801/1.111, allocations: 3.163 MB / 1.068 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/1.111, allocations: 93.77 kB / 1.068 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.113, allocations: 1.309 MB / 1.069 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/1.113, allocations: 48.05 kB / 1.07 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/1.114, allocations: 0.7355 MB / 1.07 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/1.114, allocations: 297 kB / 1.071 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.115, allocations: 198.5 kB / 1.071 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.115, allocations: 341.9 kB / 1.071 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/1.116, allocations: 439.1 kB / 1.071 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/1.117, allocations: 0.6575 MB / 1.072 GB, free: 8.727 MB / 0.7325 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.0143/1.131, allocations: 3.67 MB / 1.076 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.131, allocations: 0 / 1.076 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002953/1.134, allocations: 1.381 MB / 1.077 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.134, allocations: 37.7 kB / 1.077 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.134, allocations: 4 kB / 1.077 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/1.135, allocations: 80.73 kB / 1.077 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/1.136, allocations: 212.5 kB / 1.077 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/1.136, allocations: 0.59 MB / 1.078 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.137, allocations: 75.91 kB / 1.078 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/1.138, allocations: 39.98 kB / 1.078 GB, free: 2.555 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/1.139, allocations: 0.7472 MB / 1.079 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00111/1.14, allocations: 0.6536 MB / 1.079 GB, free: 1.074 MB / 0.7325 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_lambda0): time 0.01405/1.154, allocations: 3.629 MB / 1.083 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.848e-06/1.154, allocations: 0 / 1.083 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002794/1.157, allocations: 1.342 MB / 1.084 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/1.157, allocations: 37.73 kB / 1.084 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.157, allocations: 4 kB / 1.084 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/1.157, allocations: 52.77 kB / 1.084 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/1.158, allocations: 216.6 kB / 1.085 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/1.16, allocations: 1.78 MB / 1.086 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.161, allocations: 76 kB / 1.086 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/1.161, allocations: 39.98 kB / 1.086 GB, free: 9.699 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003253/1.161, allocations: 274.6 kB / 1.087 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/1.162, allocations: 154.1 kB / 1.087 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/1.164, allocations: 1.239 MB / 1.088 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002193/1.167, allocations: 1.119 MB / 1.089 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.167, allocations: 0 / 1.089 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/1.167, allocations: 331.2 kB / 1.089 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/1.168, allocations: 24 kB / 1.089 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/1.169, allocations: 53.58 kB / 1.09 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.169, allocations: 52.58 kB / 1.09 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003152/1.172, allocations: 1.314 MB / 1.091 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003468/1.175, allocations: 1.89 MB / 1.093 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009839/1.176, allocations: 497.3 kB / 1.093 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001307/1.178, allocations: 0.8936 MB / 1.094 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of Backend: time 4.31e-07/1.178, allocations: 0 / 1.094 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005282/1.183, allocations: 2.226 MB / 1.096 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006297/1.189, allocations: 3.773 MB / 1.1 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.0626/1.252, allocations: 39.22 MB / 1.138 GB, free: 5.055 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)