Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.698/2.698, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001281/0.001281, allocations: 184.5 kB / 371 MB, free: 10.88 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.137/2.137, 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.0008662/0.0008661, allocations: 85.28 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004906, allocations: 11.8 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.052/1.252, allocations: 250.8 MB / 1.223 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03292/1.285, allocations: 16.1 MB / 1.239 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/1.288, allocations: 55.62 kB / 1.239 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003973/1.292, allocations: 0.7531 MB / 1.24 GB, free: 260 kB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009885/1.302, allocations: 2.303 MB / 1.242 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007234/1.309, allocations: 1.525 MB / 1.244 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01052/1.319, allocations: 5.654 MB / 1.249 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/1.323, allocations: 1.302 MB / 1.25 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006789/1.33, allocations: 1.918 MB / 1.252 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/1.334, allocations: 1.436 MB / 1.254 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0007156/1.334, allocations: 76 kB / 1.254 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007254/1.342, allocations: 1.629 MB / 1.255 GB, free: 368 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/1.343, allocations: 0.5919 MB / 1.256 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/1.345, allocations: 432.7 kB / 1.256 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006438/1.351, allocations: 2.626 MB / 1.259 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.351, allocations: 7.938 kB / 1.259 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.325e-06/1.351, allocations: 0 / 1.259 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.519e-05/1.351, allocations: 0 / 1.259 GB, free: 12.7 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006386/1.358, allocations: 2.043 MB / 1.261 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.358, allocations: 11.97 kB / 1.261 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006154/1.358, allocations: 198.1 kB / 1.261 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007592/1.366, allocations: 0.6572 MB / 1.262 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/1.37, allocations: 1.277 MB / 1.263 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/1.37, allocations: 98.55 kB / 1.263 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/1.37, allocations: 136 kB / 1.263 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004272/1.375, allocations: 1.561 MB / 1.265 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/1.375, allocations: 0 / 1.265 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/1.375, allocations: 60 kB / 1.265 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.103e-05/1.375, allocations: 50.41 kB / 1.265 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/1.379, allocations: 1.255 MB / 1.266 GB, free: 5.148 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 preOpt removeSimpleEquations (simulation): time 0.01442/1.393, allocations: 7.218 MB / 1.273 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.395, allocations: 0.6411 MB / 1.274 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008889/1.396, allocations: 370.3 kB / 1.274 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/1.396, allocations: 105.7 kB / 1.274 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.396, allocations: 43.12 kB / 1.274 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001289/1.398, allocations: 155 kB / 1.274 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=67): time 3.797e-06/1.398, allocations: 0 / 1.274 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=67): time 0.003119/1.401, allocations: 1.005 MB / 1.275 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.401, allocations: 59.97 kB / 1.275 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.404, allocations: 1.323 MB / 1.277 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.404, allocations: 41.7 kB / 1.277 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008896/1.405, allocations: 0.7697 MB / 1.277 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/1.405, allocations: 252.8 kB / 1.278 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.405, allocations: 16 kB / 1.278 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.405, allocations: 349.9 kB / 1.278 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009478/1.406, allocations: 345.8 kB / 1.278 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.408, allocations: 0.6712 MB / 1.279 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.409, allocations: 450.8 kB / 1.279 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.409, allocations: 4 kB / 1.279 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003047/1.412, allocations: 1.136 MB / 1.281 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/1.412, allocations: 296.3 kB / 1.281 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.412, allocations: 12 kB / 1.281 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/1.412, allocations: 12 kB / 1.281 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.414, allocations: 207.7 kB / 1.281 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.414, allocations: 15.94 kB / 1.281 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/1.417, allocations: 133.1 kB / 1.281 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.417, allocations: 47.94 kB / 1.281 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.417, allocations: 5.719 kB / 1.281 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/1.42, allocations: 0.9762 MB / 1.282 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/1.42, allocations: 8 kB / 1.282 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.42, allocations: 12 kB / 1.282 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.421, allocations: 211.7 kB / 1.282 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/1.421, allocations: 15.98 kB / 1.282 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.424, allocations: 127.8 kB / 1.283 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.424, allocations: 40 kB / 1.283 GB, free: 3.254 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001156/1.425, allocations: 0.489 MB / 1.283 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/1.426, allocations: 154.2 kB / 1.283 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/1.428, allocations: 0.82 MB / 1.284 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.428, allocations: 8 kB / 1.284 GB, free: 1.754 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.428, allocations: 4 kB / 1.284 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/1.43, allocations: 0.7785 MB / 1.285 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/1.435, allocations: 2.29 MB / 1.287 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.435, allocations: 8.188 kB / 1.287 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.437, allocations: 167.8 kB / 1.287 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/1.437, allocations: 4 kB / 1.287 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/1.437, allocations: 20 kB / 1.287 GB, free: 14.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/1.437, allocations: 7.984 kB / 1.287 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.437, allocations: 4 kB / 1.287 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/1.44, allocations: 1.3 MB / 1.289 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.441, allocations: 319.2 kB / 1.289 GB, free: 12.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/1.442, allocations: 16 kB / 1.289 GB, free: 12.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/1.444, allocations: 96.7 kB / 1.289 GB, free: 12.56 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.444, allocations: 44.44 kB / 1.289 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.444, allocations: 39.94 kB / 1.289 GB, free: 12.48 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00205/1.446, allocations: 0.8925 MB / 1.29 GB, free: 11.59 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.446, allocations: 0 / 1.29 GB, free: 11.59 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003222/1.449, allocations: 0.8456 MB / 1.291 GB, free: 10.75 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003984/1.453, allocations: 1.998 MB / 1.293 GB, free: 8.711 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003474/1.457, allocations: 1.311 MB / 1.294 GB, free: 7.398 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.457, allocations: 4.875 kB / 1.294 GB, free: 7.395 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/1.458, allocations: 347.2 kB / 1.294 GB, free: 7.055 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007468/1.465, allocations: 0.8571 MB / 1.295 GB, free: 6.207 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.489, allocations: 9.025 MB / 1.304 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.491, allocations: 1.349 MB / 1.305 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003011/1.494, allocations: 420.4 kB / 1.306 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.495, allocations: 0.6047 MB / 1.306 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of SimCode: time 9.62e-07/1.495, allocations: 0 / 1.306 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/1.651, allocations: 41.41 MB / 1.347 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003265/1.651, allocations: 245.8 kB / 1.347 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.933/5.584, allocations: 4 kB / 1.347 GB, free: 1.074 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)