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.994/2.994, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001357/0.001357, allocations: 178.6 kB / 371 MB, free: 10.87 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.553/2.553, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001102/0.001102, allocations: 97.41 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005288/0.0005291, allocations: 16.02 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2412, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 1.197/1.438, allocations: 233.4 MB / 1.206 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0242/1.463, allocations: 8.969 MB / 1.215 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/1.466, allocations: 65.84 kB / 1.215 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003778/1.47, allocations: 0.6379 MB / 1.216 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009973/1.48, allocations: 1.943 MB / 1.218 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008052/1.488, allocations: 1.529 MB / 1.219 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009605/1.498, allocations: 4.66 MB / 1.224 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/1.502, allocations: 1.156 MB / 1.225 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/1.508, allocations: 1.574 MB / 1.226 GB, free: 14 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/1.512, allocations: 1.183 MB / 1.228 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007963/1.513, allocations: 60 kB / 1.228 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008605/1.521, allocations: 1.851 MB / 1.229 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/1.523, allocations: 474.2 kB / 1.23 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/1.524, allocations: 396.7 kB / 1.23 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006861/1.531, allocations: 2.521 MB / 1.233 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/1.531, allocations: 0 / 1.233 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.196e-06/1.531, allocations: 0 / 1.233 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001097/1.532, allocations: 0 / 1.233 GB, free: 7.516 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.007088/1.539, allocations: 2.145 MB / 1.235 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/1.539, allocations: 8.031 kB / 1.235 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006718/1.539, allocations: 181.5 kB / 1.235 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/1.546, allocations: 0.6376 MB / 1.236 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/1.551, allocations: 1.318 MB / 1.237 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007969/1.552, allocations: 166.1 kB / 1.237 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005888/1.552, allocations: 128 kB / 1.237 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/1.558, allocations: 1.44 MB / 1.239 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.742e-05/1.558, allocations: 7.922 kB / 1.239 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/1.558, allocations: 52 kB / 1.239 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.882e-05/1.558, allocations: 46.25 kB / 1.239 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/1.564, allocations: 1.211 MB / 1.24 GB, free: 15.96 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.0166/1.581, allocations: 5.775 MB / 1.246 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/1.584, allocations: 0.9939 MB / 1.247 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/1.586, allocations: 0.515 MB / 1.247 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.588, allocations: 332.3 kB / 1.247 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/1.59, allocations: 0.5558 MB / 1.248 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=79): time 5.831e-06/1.59, allocations: 0 / 1.248 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79): time 0.00815/1.598, allocations: 1.671 MB / 1.249 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/1.598, allocations: 89.77 kB / 1.25 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/1.602, allocations: 1.314 MB / 1.251 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002924/1.602, allocations: 41.7 kB / 1.251 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.603, allocations: 0.74 MB / 1.252 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/1.604, allocations: 272 kB / 1.252 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.604, allocations: 20 kB / 1.252 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002002/1.604, allocations: 341.9 kB / 1.252 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/1.606, allocations: 417.8 kB / 1.253 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/1.609, allocations: 0.6614 MB / 1.253 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/1.611, allocations: 0.5121 MB / 1.254 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/1.611, allocations: 4 kB / 1.254 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00596/1.617, allocations: 1.365 MB / 1.255 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.617, allocations: 276 kB / 1.255 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/1.617, allocations: 11.94 kB / 1.255 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006836/1.618, allocations: 72.75 kB / 1.255 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.62, allocations: 215.7 kB / 1.256 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/1.621, allocations: 0.5952 MB / 1.256 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.624, allocations: 203 kB / 1.256 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/1.624, allocations: 43.98 kB / 1.256 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.624, allocations: 4 kB / 1.256 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005054/1.629, allocations: 1.19 MB / 1.258 GB, free: 13 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/1.629, allocations: 15.95 kB / 1.258 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/1.63, allocations: 52.83 kB / 1.258 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.632, allocations: 211.7 kB / 1.258 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/1.634, allocations: 1.592 MB / 1.259 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/1.637, allocations: 195 kB / 1.26 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/1.638, allocations: 43.97 kB / 1.26 GB, free: 10.75 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.001547/1.639, allocations: 0.504 MB / 1.26 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/1.64, allocations: 154.1 kB / 1.26 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.645, allocations: 1.199 MB / 1.262 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.645, allocations: 8 kB / 1.262 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.645, allocations: 7.953 kB / 1.262 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004338/1.649, allocations: 1.069 MB / 1.263 GB, free: 7.738 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.01035/1.66, allocations: 2.815 MB / 1.265 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.66, allocations: 4 kB / 1.265 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.662, allocations: 172.1 kB / 1.265 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/1.662, allocations: 52.81 kB / 1.266 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/1.662, allocations: 23.98 kB / 1.266 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006779/1.663, allocations: 0.5874 MB / 1.266 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/1.663, allocations: 7.938 kB / 1.266 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/1.67, allocations: 1.867 MB / 1.268 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.672, allocations: 339.1 kB / 1.268 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/1.672, allocations: 27.95 kB / 1.268 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/1.675, allocations: 111.8 kB / 1.268 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.675, allocations: 48.44 kB / 1.268 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.675, allocations: 35.97 kB / 1.268 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002641/1.678, allocations: 0.89 MB / 1.269 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.62e-07/1.678, allocations: 0 / 1.269 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004628/1.683, allocations: 0.795 MB / 1.27 GB, free: 15.77 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.008677/1.691, allocations: 2.576 MB / 1.273 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.704, allocations: 1.909 MB / 1.275 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.704, allocations: 0 / 1.275 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.708, allocations: 0.5734 MB / 1.275 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/1.725, allocations: 0.7863 MB / 1.276 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04306/1.768, allocations: 10.02 MB / 1.286 GB, free: 15.38 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/1.77, allocations: 1.328 MB / 1.287 GB, free: 14.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003071/1.773, allocations: 364.4 kB / 1.287 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002036/1.775, allocations: 0.6243 MB / 1.288 GB, free: 13.04 MB / 0.823 GB Notification: Performance of SimCode: time 2.204e-06/1.775, allocations: 0 / 1.288 GB, free: 13.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/1.909, allocations: 40.86 MB / 1.328 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/1.909, allocations: 254 kB / 1.328 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/6.468, allocations: 3.938 kB / 1.328 GB, free: 4.262 MB / 0.8542 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)