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.00109/0.00109, allocations: 110.8 kB / 16.42 MB, free: 6.512 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.001104/0.001104, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 293 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3967, allocations: 86.98 MB / 0.767 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6225/1.019, allocations: 255.8 MB / 1.017 GB, free: 16.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01289/1.032, allocations: 9.595 MB / 1.026 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/1.035, allocations: 75.88 kB / 1.026 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/1.037, allocations: 0.9679 MB / 1.027 GB, free: 16.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005895/1.043, allocations: 2.659 MB / 1.03 GB, free: 16.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004733/1.048, allocations: 2.151 MB / 1.032 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004784/1.052, allocations: 4.183 MB / 1.036 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/1.054, allocations: 1.709 MB / 1.038 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/1.058, allocations: 2.025 MB / 1.04 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/1.06, allocations: 1.332 MB / 1.041 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/1.061, allocations: 181.2 kB / 1.041 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005169/1.066, allocations: 3.148 MB / 1.044 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005541/1.066, allocations: 0.5993 MB / 1.045 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.067, allocations: 1.036 MB / 1.046 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/1.073, allocations: 3.711 MB / 1.049 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.073, allocations: 4 kB / 1.049 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/1.073, allocations: 1.906 kB / 1.049 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.891e-05/1.073, allocations: 0 / 1.049 GB, free: 12.48 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.003576/1.076, allocations: 2.482 MB / 1.052 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.076, allocations: 8.219 kB / 1.052 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/1.08, allocations: 0.6284 MB / 1.052 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/1.082, allocations: 1.448 MB / 1.054 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/1.082, allocations: 94.39 kB / 1.054 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/1.083, allocations: 124.5 kB / 1.054 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/1.085, allocations: 1.445 MB / 1.056 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.085, allocations: 2.531 kB / 1.056 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.085, allocations: 52.09 kB / 1.056 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/1.085, allocations: 47.56 kB / 1.056 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/1.087, allocations: 1.199 MB / 1.057 GB, free: 7.805 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.006333/1.094, allocations: 5.733 MB / 1.062 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.095, allocations: 1.027 MB / 1.063 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008555/1.096, allocations: 0.5408 MB / 1.064 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/1.096, allocations: 313.9 kB / 1.064 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.098, allocations: 0.572 MB / 1.065 GB, free: 444 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.287e-06/1.098, allocations: 0 / 1.065 GB, free: 444 kB / 0.7169 GB Notification: Performance of matching and sorting (n=87): time 0.007339/1.105, allocations: 3.18 MB / 1.068 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/1.105, allocations: 93.75 kB / 1.068 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/1.107, allocations: 1.305 MB / 1.069 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.953e-05/1.107, allocations: 45.7 kB / 1.069 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/1.108, allocations: 0.7315 MB / 1.07 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/1.108, allocations: 307.3 kB / 1.07 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/1.108, allocations: 190.5 kB / 1.07 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.108, allocations: 345.9 kB / 1.071 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009865/1.109, allocations: 432.6 kB / 1.071 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.111, allocations: 0.6575 MB / 1.072 GB, free: 8.953 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.01444/1.125, allocations: 3.672 MB / 1.075 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.125, allocations: 0 / 1.075 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003213/1.128, allocations: 1.383 MB / 1.077 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/1.128, allocations: 41.7 kB / 1.077 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.128, allocations: 4 kB / 1.077 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/1.129, allocations: 76.73 kB / 1.077 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/1.13, allocations: 212.8 kB / 1.077 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004768/1.13, allocations: 0.586 MB / 1.078 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.132, allocations: 75 kB / 1.078 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.132, allocations: 40 kB / 1.078 GB, free: 2.785 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.001605/1.133, allocations: 0.7516 MB / 1.079 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/1.135, allocations: 0.6459 MB / 1.079 GB, free: 1.305 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.01403/1.149, allocations: 3.632 MB / 1.083 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.265e-06/1.149, allocations: 4 kB / 1.083 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003013/1.152, allocations: 1.342 MB / 1.084 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.152, allocations: 45.69 kB / 1.084 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.152, allocations: 4 kB / 1.084 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/1.152, allocations: 47.31 kB / 1.084 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/1.153, allocations: 210.2 kB / 1.084 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/1.155, allocations: 1.781 MB / 1.086 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.156, allocations: 72 kB / 1.086 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/1.156, allocations: 43.98 kB / 1.086 GB, free: 9.926 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.0003468/1.157, allocations: 277.8 kB / 1.086 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/1.157, allocations: 158.1 kB / 1.087 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/1.16, allocations: 1.245 MB / 1.088 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002189/1.162, allocations: 1.115 MB / 1.089 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.162, allocations: 0 / 1.089 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/1.163, allocations: 327.1 kB / 1.089 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/1.163, allocations: 20 kB / 1.089 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.164, allocations: 59.94 kB / 1.089 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.164, allocations: 44.59 kB / 1.089 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003129/1.167, allocations: 1.32 MB / 1.091 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003513/1.171, allocations: 1.888 MB / 1.092 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009596/1.172, allocations: 0.4895 MB / 1.093 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001407/1.173, allocations: 0.8922 MB / 1.094 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of Backend: time 3.41e-07/1.173, allocations: 0 / 1.094 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00562/1.179, allocations: 2.215 MB / 1.096 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006745/1.186, allocations: 3.782 MB / 1.1 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of Templates: time 0.06194/1.248, allocations: 39.22 MB / 1.138 GB, free: 5.285 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)