Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.536/1.536, allocations: 288.4 MB / 303.6 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 184.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.4 MB / 0.631 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006513/0.0006515, allocations: 88.89 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 15.52 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7561/0.9086, allocations: 233.4 MB / 1.208 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.9236, allocations: 8.974 MB / 1.217 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.9261, allocations: 65.56 kB / 1.217 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.9288, allocations: 0.7174 MB / 1.218 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006903/0.9357, allocations: 2.268 MB / 1.22 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.9414, allocations: 1.665 MB / 1.221 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007437/0.9488, allocations: 4.685 MB / 1.226 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.9521, allocations: 1.388 MB / 1.227 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.9576, allocations: 1.657 MB / 1.229 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.9609, allocations: 1.186 MB / 1.23 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004747/0.9614, allocations: 60 kB / 1.23 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0076/0.9691, allocations: 3.351 MB / 1.234 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008514/0.9699, allocations: 474.2 kB / 1.234 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.9717, allocations: 0.8762 MB / 1.235 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.9758, allocations: 2.65 MB / 1.237 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9758, allocations: 0 / 1.237 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9758, allocations: 4 kB / 1.237 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.958e-05/0.9759, allocations: 0 / 1.237 GB, free: 3.02 MB / 0.7605 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.005461/0.9814, allocations: 2.126 MB / 1.24 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.9814, allocations: 8.031 kB / 1.24 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.9818, allocations: 177.5 kB / 1.24 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.9853, allocations: 0.6377 MB / 1.24 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.9879, allocations: 1.367 MB / 1.242 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/0.9884, allocations: 178 kB / 1.242 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.9886, allocations: 127.9 kB / 1.242 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.9922, allocations: 1.444 MB / 1.243 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.9922, allocations: 4 kB / 1.243 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.9924, allocations: 48 kB / 1.243 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/0.9925, allocations: 42.25 kB / 1.243 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.9953, allocations: 1.215 MB / 1.245 GB, free: 11.43 MB / 0.7761 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.008716/1.004, allocations: 5.782 MB / 1.25 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/1.006, allocations: 0.9978 MB / 1.251 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.007, allocations: 0.5255 MB / 1.252 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/1.008, allocations: 327.9 kB / 1.252 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/1.009, allocations: 0.552 MB / 1.253 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=79): time 3.627e-06/1.009, allocations: 0 / 1.253 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79): time 0.004474/1.013, allocations: 1.664 MB / 1.254 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/1.013, allocations: 97.69 kB / 1.254 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.015, allocations: 1.31 MB / 1.256 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.015, allocations: 41.7 kB / 1.256 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/1.016, allocations: 0.7439 MB / 1.256 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/1.016, allocations: 268.1 kB / 1.257 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/1.016, allocations: 20 kB / 1.257 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.017, allocations: 345.9 kB / 1.257 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/1.017, allocations: 421.8 kB / 1.257 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.019, allocations: 0.6575 MB / 1.258 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/1.021, allocations: 1.095 MB / 1.259 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.021, allocations: 8 kB / 1.259 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003193/1.024, allocations: 1.361 MB / 1.26 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002098/1.024, allocations: 282.2 kB / 1.261 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.024, allocations: 4 kB / 1.261 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/1.025, allocations: 76.78 kB / 1.261 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/1.025, allocations: 207.7 kB / 1.261 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004846/1.026, allocations: 0.603 MB / 1.262 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.028, allocations: 194.8 kB / 1.262 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/1.028, allocations: 39.98 kB / 1.262 GB, free: 9.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/1.028, allocations: 8 kB / 1.262 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002431/1.03, allocations: 1.197 MB / 1.263 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.03, allocations: 7.938 kB / 1.263 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/1.03, allocations: 49.3 kB / 1.263 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/1.031, allocations: 215.7 kB / 1.263 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/1.033, allocations: 1.592 MB / 1.265 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/1.035, allocations: 191 kB / 1.265 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.035, allocations: 47.92 kB / 1.265 GB, free: 5.566 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 104 * Array equations: 2 * 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.0008108/1.035, allocations: 0.4995 MB / 1.265 GB, free: 5.051 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/1.036, allocations: 154.1 kB / 1.266 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/1.038, allocations: 1.206 MB / 1.267 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.038, allocations: 12.03 kB / 1.267 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/1.038, allocations: 0 / 1.267 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/1.04, allocations: 1.076 MB / 1.268 GB, free: 2.535 MB / 0.7917 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.004819/1.045, allocations: 2.812 MB / 1.271 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.045, allocations: 8.062 kB / 1.271 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008987/1.046, allocations: 175.7 kB / 1.271 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/1.046, allocations: 44.84 kB / 1.271 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/1.046, allocations: 27.98 kB / 1.271 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/1.047, allocations: 0.5874 MB / 1.271 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.047, allocations: 3.938 kB / 1.271 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/1.05, allocations: 1.875 MB / 1.273 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/1.051, allocations: 339 kB / 1.274 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/1.051, allocations: 20 kB / 1.274 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.052, allocations: 111.8 kB / 1.274 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.052, allocations: 56.38 kB / 1.274 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/1.052, allocations: 35.97 kB / 1.274 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001291/1.054, allocations: 0.8861 MB / 1.275 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.275 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002184/1.056, allocations: 0.7949 MB / 1.275 GB, free: 10.56 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.004328/1.06, allocations: 2.588 MB / 1.278 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003933/1.064, allocations: 1.902 MB / 1.28 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.064, allocations: 0 / 1.28 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.065, allocations: 0.5695 MB / 1.28 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/1.07, allocations: 0.7775 MB / 1.281 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/1.089, allocations: 10.02 MB / 1.291 GB, free: 10.19 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.09, allocations: 1.328 MB / 1.292 GB, free: 8.836 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001784/1.092, allocations: 368.4 kB / 1.293 GB, free: 8.473 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008413/1.093, allocations: 0.6243 MB / 1.293 GB, free: 7.848 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/1.093, allocations: 0 / 1.293 GB, free: 7.848 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4797/1.573, allocations: 41.28 MB / 1.334 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004046/1.573, allocations: 257.8 kB / 1.334 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/5.301, allocations: 3.938 kB / 1.334 GB, free: 14.61 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)