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.722/1.722, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001132/0.001132, allocations: 181.1 kB / 371.8 MB, free: 10.3 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.779/1.779, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009139/0.0009142, allocations: 102.8 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005015, allocations: 11.03 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2759, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.9385/1.214, allocations: 209.2 MB / 1.184 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0185/1.233, allocations: 9.544 MB / 1.193 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003473/1.237, allocations: 64.78 kB / 1.193 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00373/1.24, allocations: 0.8611 MB / 1.194 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/1.252, allocations: 2.741 MB / 1.197 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007175/1.259, allocations: 1.776 MB / 1.198 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006503/1.266, allocations: 2.434 MB / 1.201 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/1.268, allocations: 1.175 MB / 1.202 GB, free: 308 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/1.273, allocations: 1.478 MB / 1.203 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/1.275, allocations: 0.8283 MB / 1.204 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/1.276, allocations: 65.94 kB / 1.204 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004842/1.28, allocations: 1.564 MB / 1.206 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000586/1.281, allocations: 440.6 kB / 1.206 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007626/1.282, allocations: 397.4 kB / 1.207 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003938/1.286, allocations: 2.354 MB / 1.209 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.286, allocations: 6.531 kB / 1.209 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/1.286, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.644e-05/1.286, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.7448 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.004466/1.29, allocations: 2.093 MB / 1.211 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.29, allocations: 10.31 kB / 1.211 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/1.291, allocations: 175 kB / 1.211 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/1.294, allocations: 0.6474 MB / 1.212 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/1.297, allocations: 1.312 MB / 1.213 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/1.298, allocations: 170.1 kB / 1.213 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/1.298, allocations: 120 kB / 1.213 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/1.301, allocations: 1.444 MB / 1.215 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.301, allocations: 0 / 1.215 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/1.301, allocations: 51.98 kB / 1.215 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/1.301, allocations: 42.27 kB / 1.215 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/1.303, allocations: 1.211 MB / 1.216 GB, free: 5.875 MB / 0.7448 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.009449/1.313, allocations: 5.883 MB / 1.222 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/1.315, allocations: 1.013 MB / 1.223 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/1.315, allocations: 141.7 kB / 1.223 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/1.316, allocations: 0.552 MB / 1.223 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 2.655e-06/1.316, allocations: 0 / 1.223 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.004356/1.321, allocations: 1.748 MB / 1.225 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.321, allocations: 89.77 kB / 1.225 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.323, allocations: 1.314 MB / 1.226 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/1.323, allocations: 45.7 kB / 1.227 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/1.324, allocations: 0.7361 MB / 1.227 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/1.324, allocations: 280 kB / 1.228 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/1.324, allocations: 16 kB / 1.228 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.324, allocations: 345.9 kB / 1.228 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/1.325, allocations: 421.7 kB / 1.228 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.326, allocations: 0.6497 MB / 1.229 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.327, allocations: 0.516 MB / 1.229 GB, free: 7.512 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.327, allocations: 4 kB / 1.229 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003007/1.33, allocations: 1.365 MB / 1.231 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000999/1.331, allocations: 2.093 MB / 1.233 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.331, allocations: 8 kB / 1.233 GB, free: 3.824 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/1.332, allocations: 84.77 kB / 1.233 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/1.333, allocations: 203.7 kB / 1.233 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004637/1.333, allocations: 0.5991 MB / 1.234 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.335, allocations: 199.7 kB / 1.234 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/1.335, allocations: 39.98 kB / 1.234 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.335, allocations: 4 kB / 1.234 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002439/1.338, allocations: 1.193 MB / 1.235 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.338, allocations: 12.09 kB / 1.235 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/1.338, allocations: 48.83 kB / 1.235 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/1.339, allocations: 211.7 kB / 1.235 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/1.34, allocations: 1.611 MB / 1.237 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.342, allocations: 187.1 kB / 1.237 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/1.342, allocations: 40 kB / 1.237 GB, free: 15.22 MB / 0.7761 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.001014/1.343, allocations: 0.5023 MB / 1.238 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/1.343, allocations: 158.1 kB / 1.238 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/1.346, allocations: 1.199 MB / 1.239 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.346, allocations: 8 kB / 1.239 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/1.346, allocations: 4 kB / 1.239 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00208/1.348, allocations: 1.076 MB / 1.24 GB, free: 12.2 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 postOpt removeSimpleEquations (simulation): time 0.00514/1.353, allocations: 2.8 MB / 1.243 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.353, allocations: 4 kB / 1.243 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/1.354, allocations: 176 kB / 1.243 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/1.354, allocations: 48.97 kB / 1.243 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/1.354, allocations: 23.98 kB / 1.243 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004975/1.355, allocations: 0.5913 MB / 1.244 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.355, allocations: 0 / 1.244 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/1.359, allocations: 2.016 MB / 1.245 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/1.36, allocations: 334.9 kB / 1.246 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/1.36, allocations: 24 kB / 1.246 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.361, allocations: 107.8 kB / 1.246 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.361, allocations: 56.44 kB / 1.246 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/1.361, allocations: 31.94 kB / 1.246 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001455/1.363, allocations: 0.8861 MB / 1.247 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.51e-07/1.363, allocations: 0 / 1.247 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002504/1.365, allocations: 0.7949 MB / 1.248 GB, free: 4.047 MB / 0.7761 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.004911/1.37, allocations: 3.315 MB / 1.251 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004191/1.374, allocations: 1.902 MB / 1.253 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.374, allocations: 0 / 1.253 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.376, allocations: 0.5773 MB / 1.253 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/1.379, allocations: 0.7703 MB / 1.254 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.39, allocations: 8.067 MB / 1.262 GB, free: 5.105 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/1.391, allocations: 1.366 MB / 1.263 GB, free: 3.711 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001645/1.392, allocations: 360.4 kB / 1.264 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008291/1.393, allocations: 0.6282 MB / 1.264 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of SimCode: time 1.192e-06/1.393, allocations: 3.938 kB / 1.264 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07638/1.469, allocations: 39.94 MB / 1.303 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.47, allocations: 264.5 kB / 1.304 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.738/5.208, allocations: 0 / 1.304 GB, free: 10.82 MB / 0.8386 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)