Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001702/0.001702, allocations: 181 kB / 370.8 MB, free: 10.83 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.271/2.271, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001216/0.001216, allocations: 96.7 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005345/0.0005347, allocations: 13.19 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2281, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 1.048/1.277, allocations: 209.2 MB / 1.183 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0245/1.301, allocations: 9.543 MB / 1.192 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/1.305, allocations: 60.97 kB / 1.192 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004707/1.309, allocations: 0.8641 MB / 1.193 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/1.323, allocations: 2.738 MB / 1.196 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008768/1.332, allocations: 1.772 MB / 1.197 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007537/1.34, allocations: 2.435 MB / 1.2 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/1.343, allocations: 1.176 MB / 1.201 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005362/1.348, allocations: 1.483 MB / 1.202 GB, free: 216 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/1.35, allocations: 0.8283 MB / 1.203 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003994/1.351, allocations: 59.31 kB / 1.203 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005979/1.357, allocations: 1.571 MB / 1.205 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/1.358, allocations: 439.4 kB / 1.205 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009789/1.359, allocations: 397.3 kB / 1.205 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006499/1.365, allocations: 2.35 MB / 1.208 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.365, allocations: 6.469 kB / 1.208 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.576e-06/1.365, allocations: 0 / 1.208 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.601e-05/1.366, allocations: 0 / 1.208 GB, free: 12.93 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.006779/1.372, allocations: 2.094 MB / 1.21 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.372, allocations: 10.19 kB / 1.21 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006273/1.373, allocations: 178.7 kB / 1.21 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008181/1.381, allocations: 0.642 MB / 1.211 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/1.388, allocations: 1.322 MB / 1.212 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.389, allocations: 159.4 kB / 1.212 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000647/1.39, allocations: 130.8 kB / 1.212 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007154/1.397, allocations: 1.436 MB / 1.214 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/1.397, allocations: 3.938 kB / 1.214 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/1.398, allocations: 48 kB / 1.214 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/1.398, allocations: 42.27 kB / 1.214 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/1.405, allocations: 1.211 MB / 1.215 GB, free: 6.941 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.02201/1.427, allocations: 5.895 MB / 1.221 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/1.433, allocations: 1.01 MB / 1.222 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009791/1.434, allocations: 149.6 kB / 1.222 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003081/1.437, allocations: 0.5481 MB / 1.222 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=79): time 6.482e-06/1.437, allocations: 0 / 1.222 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79): time 0.009505/1.446, allocations: 1.732 MB / 1.224 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.446, allocations: 97.75 kB / 1.224 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/1.449, allocations: 1.31 MB / 1.225 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002575/1.45, allocations: 45.7 kB / 1.225 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009874/1.451, allocations: 0.7439 MB / 1.226 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/1.451, allocations: 272 kB / 1.226 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/1.451, allocations: 20 kB / 1.226 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.452, allocations: 341.9 kB / 1.227 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/1.453, allocations: 417.8 kB / 1.227 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/1.455, allocations: 0.6575 MB / 1.228 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/1.457, allocations: 0.516 MB / 1.228 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.458, allocations: 0 / 1.228 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005717/1.463, allocations: 1.361 MB / 1.23 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.464, allocations: 2.101 MB / 1.232 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/1.464, allocations: 4 kB / 1.232 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/1.465, allocations: 76.8 kB / 1.232 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/1.467, allocations: 207.7 kB / 1.232 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/1.468, allocations: 0.6029 MB / 1.232 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.471, allocations: 194.9 kB / 1.233 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/1.471, allocations: 39.98 kB / 1.233 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.471, allocations: 6.031 kB / 1.233 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004705/1.476, allocations: 1.201 MB / 1.234 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.476, allocations: 8.453 kB / 1.234 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/1.476, allocations: 56.91 kB / 1.234 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.478, allocations: 211.7 kB / 1.234 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.481, allocations: 1.611 MB / 1.236 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.484, allocations: 185.3 kB / 1.236 GB, free: 324 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/1.484, allocations: 39.98 kB / 1.236 GB, free: 284 kB / 0.7605 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.001323/1.485, allocations: 0.4986 MB / 1.236 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/1.486, allocations: 158.1 kB / 1.237 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/1.49, allocations: 1.199 MB / 1.238 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.49, allocations: 11.98 kB / 1.238 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.49, allocations: 0 / 1.238 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003832/1.494, allocations: 1.076 MB / 1.239 GB, free: 13.26 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.008899/1.503, allocations: 2.815 MB / 1.242 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/1.503, allocations: 0 / 1.242 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.505, allocations: 180 kB / 1.242 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/1.505, allocations: 48.81 kB / 1.242 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.505, allocations: 27.98 kB / 1.242 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/1.506, allocations: 0.5835 MB / 1.242 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.506, allocations: 0 / 1.242 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/1.513, allocations: 2 MB / 1.244 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/1.514, allocations: 334.9 kB / 1.245 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/1.515, allocations: 23.98 kB / 1.245 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.518, allocations: 111.8 kB / 1.245 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.518, allocations: 56.45 kB / 1.245 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.518, allocations: 31.98 kB / 1.245 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002591/1.521, allocations: 0.8822 MB / 1.246 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.062e-06/1.521, allocations: 0 / 1.246 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004482/1.525, allocations: 0.8027 MB / 1.246 GB, free: 5.109 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.008713/1.534, allocations: 3.305 MB / 1.25 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007423/1.542, allocations: 1.909 MB / 1.252 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.542, allocations: 4 kB / 1.252 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.544, allocations: 0.5696 MB / 1.252 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007036/1.551, allocations: 0.7735 MB / 1.253 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.572, allocations: 8.069 MB / 1.261 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/1.575, allocations: 1.363 MB / 1.262 GB, free: 4.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004771/1.58, allocations: 360.4 kB / 1.262 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/1.582, allocations: 0.6281 MB / 1.263 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of SimCode: time 1.663e-06/1.583, allocations: 0 / 1.263 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/1.737, allocations: 39.92 MB / 1.302 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004266/1.737, allocations: 248.9 kB / 1.302 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.677/6.414, allocations: 0 / 1.302 GB, free: 11.95 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)