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 1.529/1.529, allocations: 287.4 MB / 302.6 MB, free: 8.164 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.001122/0.001122, allocations: 185.3 kB / 371.1 MB, free: 10.8 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.432/1.432, allocations: 205.4 MB / 0.6298 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.0008331/0.0008329, allocations: 81.2 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 12.05 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1759, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.5526/0.7285, allocations: 233.4 MB / 1.207 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.7432, allocations: 8.976 MB / 1.215 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.7464, allocations: 65.47 kB / 1.215 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.7489, allocations: 0.6383 MB / 1.216 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.755, allocations: 1.94 MB / 1.218 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.7598, allocations: 1.527 MB / 1.22 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005701/0.7655, allocations: 4.697 MB / 1.224 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.7677, allocations: 1.374 MB / 1.225 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.7716, allocations: 1.575 MB / 1.227 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.7741, allocations: 1.179 MB / 1.228 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.7745, allocations: 64 kB / 1.228 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.7789, allocations: 1.851 MB / 1.23 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.7796, allocations: 478.2 kB / 1.23 GB, free: 10 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.7804, allocations: 400.6 kB / 1.231 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.7841, allocations: 2.517 MB / 1.233 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7841, allocations: 4 kB / 1.233 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7841, allocations: 0 / 1.233 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.867e-05/0.7842, allocations: 0 / 1.233 GB, free: 7.078 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.004405/0.7886, allocations: 2.13 MB / 1.235 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.7887, allocations: 8.031 kB / 1.235 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/0.789, allocations: 177.5 kB / 1.236 GB, free: 4.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/0.7923, allocations: 0.6337 MB / 1.236 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.7948, allocations: 1.367 MB / 1.237 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.7952, allocations: 170.1 kB / 1.238 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.7954, allocations: 127.9 kB / 1.238 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.7978, allocations: 1.44 MB / 1.239 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.7978, allocations: 3.984 kB / 1.239 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7979, allocations: 59.94 kB / 1.239 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.798, allocations: 46.25 kB / 1.239 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.8004, allocations: 1.207 MB / 1.24 GB, free: 15.5 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.007518/0.808, allocations: 5.778 MB / 1.246 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.8096, allocations: 1.002 MB / 1.247 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009162/0.8105, allocations: 0.5147 MB / 1.248 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.8111, allocations: 328.3 kB / 1.248 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.8122, allocations: 0.5597 MB / 1.248 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=79): time 2.825e-06/0.8122, allocations: 0 / 1.248 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79): time 0.003724/0.8159, allocations: 1.664 MB / 1.25 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.816, allocations: 85.77 kB / 1.25 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.8177, allocations: 1.318 MB / 1.251 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.8178, allocations: 41.7 kB / 1.251 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.8184, allocations: 0.7439 MB / 1.252 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.8187, allocations: 272.1 kB / 1.252 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.8187, allocations: 20 kB / 1.252 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.8188, allocations: 341.9 kB / 1.253 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008698/0.8197, allocations: 417.8 kB / 1.253 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.8208, allocations: 0.6652 MB / 1.254 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.8226, allocations: 1.095 MB / 1.255 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8226, allocations: 0 / 1.255 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002708/0.8253, allocations: 1.365 MB / 1.256 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.8255, allocations: 276.1 kB / 1.257 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8255, allocations: 4 kB / 1.257 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.8259, allocations: 88.78 kB / 1.257 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.8268, allocations: 203.7 kB / 1.257 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004019/0.8272, allocations: 0.5991 MB / 1.257 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.8287, allocations: 205.1 kB / 1.258 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.8287, allocations: 39.98 kB / 1.258 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.8288, allocations: 4 kB / 1.258 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002261/0.831, allocations: 1.201 MB / 1.259 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.8311, allocations: 11.94 kB / 1.259 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.8312, allocations: 48.91 kB / 1.259 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009475/0.8322, allocations: 207.7 kB / 1.259 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.8337, allocations: 1.603 MB / 1.261 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.8352, allocations: 187 kB / 1.261 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8354, allocations: 43.94 kB / 1.261 GB, free: 9.625 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.0007776/0.8361, allocations: 0.4908 MB / 1.261 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.8365, allocations: 154.1 kB / 1.261 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.8389, allocations: 1.21 MB / 1.263 GB, free: 7.727 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8389, allocations: 12 kB / 1.263 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8389, allocations: 0 / 1.263 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001924/0.8408, allocations: 1.076 MB / 1.264 GB, free: 6.602 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.004942/0.8458, allocations: 2.815 MB / 1.266 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.8458, allocations: 0 / 1.266 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.8467, allocations: 176.1 kB / 1.267 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.8468, allocations: 48.81 kB / 1.267 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.8469, allocations: 20 kB / 1.267 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003908/0.8473, allocations: 0.5913 MB / 1.267 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8473, allocations: 4 kB / 1.267 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.8507, allocations: 1.867 MB / 1.269 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/0.8515, allocations: 335 kB / 1.269 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.8518, allocations: 23.94 kB / 1.269 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.853, allocations: 111.8 kB / 1.27 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8531, allocations: 56.42 kB / 1.27 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.8532, allocations: 27.98 kB / 1.27 GB, free: 340 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001377/0.8546, allocations: 0.89 MB / 1.271 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8546, allocations: 3.938 kB / 1.271 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002277/0.8569, allocations: 0.7988 MB / 1.271 GB, free: 14.64 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.004115/0.861, allocations: 2.588 MB / 1.274 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003746/0.8648, allocations: 1.902 MB / 1.276 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8648, allocations: 448 / 1.276 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.8659, allocations: 0.573 MB / 1.276 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/0.8704, allocations: 0.7729 MB / 1.277 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.8906, allocations: 10.02 MB / 1.287 GB, free: 14.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8917, allocations: 1.331 MB / 1.288 GB, free: 12.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001753/0.8934, allocations: 364.4 kB / 1.288 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/0.8944, allocations: 0.6282 MB / 1.289 GB, free: 11.91 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/0.8944, allocations: 0 / 1.289 GB, free: 11.91 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/1.966, allocations: 40.86 MB / 1.329 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003848/1.966, allocations: 248.9 kB / 1.329 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/5.32, allocations: 3.938 kB / 1.329 GB, free: 3.137 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)