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.833/1.833, allocations: 288.4 MB / 303.3 MB, free: 8.066 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.001061/0.001061, allocations: 188.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.000779/0.000779, allocations: 90.31 kB / 0.744 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 15.06 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.95/1.229, allocations: 233.4 MB / 1.208 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01792/1.247, allocations: 8.978 MB / 1.216 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/1.251, allocations: 69.94 kB / 1.216 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003077/1.254, allocations: 0.6261 MB / 1.217 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008544/1.263, allocations: 1.943 MB / 1.219 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007464/1.27, allocations: 1.534 MB / 1.22 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008354/1.278, allocations: 4.653 MB / 1.225 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/1.281, allocations: 1.16 MB / 1.226 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/1.286, allocations: 1.579 MB / 1.228 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/1.288, allocations: 1.179 MB / 1.229 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002754/1.289, allocations: 63.94 kB / 1.229 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/1.294, allocations: 1.851 MB / 1.231 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007745/1.295, allocations: 474.2 kB / 1.231 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008525/1.296, allocations: 400.7 kB / 1.231 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004273/1.3, allocations: 2.514 MB / 1.234 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.3, allocations: 4 kB / 1.234 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.094e-06/1.3, allocations: 0 / 1.234 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.133e-05/1.3, allocations: 0 / 1.234 GB, free: 6.23 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.004193/1.304, allocations: 2.141 MB / 1.236 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.304, allocations: 12.03 kB / 1.236 GB, free: 4 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/1.305, allocations: 177.5 kB / 1.236 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/1.308, allocations: 0.6298 MB / 1.237 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/1.311, allocations: 1.322 MB / 1.238 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/1.311, allocations: 166.1 kB / 1.238 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/1.311, allocations: 128 kB / 1.238 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/1.314, allocations: 1.44 MB / 1.24 GB, free: 12 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/1.314, allocations: 3.938 kB / 1.24 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/1.315, allocations: 55.98 kB / 1.24 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/1.315, allocations: 42.27 kB / 1.24 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/1.317, allocations: 1.215 MB / 1.241 GB, free: 14.69 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.009659/1.327, allocations: 5.779 MB / 1.247 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.329, allocations: 0.9931 MB / 1.248 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/1.33, allocations: 0.5225 MB / 1.248 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/1.331, allocations: 327.9 kB / 1.249 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.332, allocations: 0.552 MB / 1.249 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=79): time 3.436e-06/1.332, allocations: 0 / 1.249 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79): time 0.004592/1.336, allocations: 1.66 MB / 1.251 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.337, allocations: 93.75 kB / 1.251 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.339, allocations: 1.31 MB / 1.252 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.339, allocations: 41.7 kB / 1.252 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007391/1.34, allocations: 0.7477 MB / 1.253 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/1.34, allocations: 276 kB / 1.253 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/1.34, allocations: 20 kB / 1.253 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.34, allocations: 341.9 kB / 1.253 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009969/1.341, allocations: 417.8 kB / 1.254 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.342, allocations: 0.6575 MB / 1.254 GB, free: 356 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/1.344, allocations: 0.5122 MB / 1.255 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.344, allocations: 4 kB / 1.255 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003562/1.347, allocations: 1.365 MB / 1.256 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000276/1.348, allocations: 280.1 kB / 1.257 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.348, allocations: 4 kB / 1.257 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/1.348, allocations: 76.8 kB / 1.257 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.349, allocations: 215.6 kB / 1.257 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005927/1.35, allocations: 0.5952 MB / 1.257 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.352, allocations: 199 kB / 1.258 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/1.352, allocations: 47.98 kB / 1.258 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/1.352, allocations: 0 / 1.258 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002689/1.354, allocations: 1.205 MB / 1.259 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.355, allocations: 4 kB / 1.259 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/1.355, allocations: 52.78 kB / 1.259 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/1.356, allocations: 207.7 kB / 1.259 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/1.357, allocations: 1.599 MB / 1.261 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/1.359, allocations: 184.6 kB / 1.261 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.359, allocations: 43.98 kB / 1.261 GB, free: 9.488 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.001098/1.361, allocations: 0.4984 MB / 1.261 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.361, allocations: 158.1 kB / 1.262 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.364, allocations: 1.203 MB / 1.263 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.364, allocations: 8 kB / 1.263 GB, free: 7.59 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.364, allocations: 0 / 1.263 GB, free: 7.59 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002194/1.366, allocations: 1.076 MB / 1.264 GB, free: 6.473 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.005619/1.372, allocations: 2.823 MB / 1.267 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.372, allocations: 4 kB / 1.267 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009352/1.372, allocations: 172 kB / 1.267 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/1.373, allocations: 40.84 kB / 1.267 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/1.373, allocations: 27.98 kB / 1.267 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/1.373, allocations: 0.5874 MB / 1.267 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.373, allocations: 4 kB / 1.267 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/1.377, allocations: 1.863 MB / 1.269 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/1.378, allocations: 334.9 kB / 1.269 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.378, allocations: 27.94 kB / 1.269 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.379, allocations: 111.8 kB / 1.27 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.379, allocations: 52.44 kB / 1.27 GB, free: 228 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/1.379, allocations: 31.98 kB / 1.27 GB, free: 196 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001515/1.381, allocations: 0.8822 MB / 1.271 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.91e-07/1.381, allocations: 0 / 1.271 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002534/1.384, allocations: 0.7949 MB / 1.271 GB, free: 14.52 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.004704/1.388, allocations: 2.592 MB / 1.274 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004209/1.393, allocations: 1.905 MB / 1.276 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.393, allocations: 448 / 1.276 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/1.394, allocations: 0.5731 MB / 1.276 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.398, allocations: 0.7959 MB / 1.277 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.421, allocations: 10.02 MB / 1.287 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.422, allocations: 1.328 MB / 1.288 GB, free: 12.75 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002038/1.424, allocations: 368.4 kB / 1.288 GB, free: 12.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.425, allocations: 0.6281 MB / 1.289 GB, free: 11.76 MB / 0.823 GB Notification: Performance of SimCode: time 1.262e-06/1.425, allocations: 0 / 1.289 GB, free: 11.76 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08665/1.512, allocations: 40.87 MB / 1.329 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/1.512, allocations: 261.8 kB / 1.329 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/5.03, allocations: 0 / 1.329 GB, free: 2.949 MB / 0.8542 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)