Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 179.6 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008485/0.0008484, allocations: 100.9 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 15.88 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9619/1.146, allocations: 251.3 MB / 1.145 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02769/1.174, allocations: 16.24 MB / 1.161 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/1.177, allocations: 53.56 kB / 1.161 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00372/1.181, allocations: 0.7587 MB / 1.162 GB, free: 2.844 MB / 0.698 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.009192/1.19, allocations: 2.367 MB / 1.164 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006725/1.197, allocations: 1.55 MB / 1.165 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008925/1.205, allocations: 5.935 MB / 1.171 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/1.208, allocations: 1.411 MB / 1.173 GB, free: 272 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007048/1.216, allocations: 2.015 MB / 1.175 GB, free: 0 / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/1.22, allocations: 1.47 MB / 1.176 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005489/1.22, allocations: 75.22 kB / 1.176 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006926/1.227, allocations: 1.634 MB / 1.178 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001468/1.229, allocations: 0.6165 MB / 1.178 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/1.23, allocations: 433.8 kB / 1.179 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005884/1.236, allocations: 2.7 MB / 1.181 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.236, allocations: 0 / 1.181 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.185e-06/1.236, allocations: 0 / 1.181 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.753e-05/1.236, allocations: 0 / 1.181 GB, free: 12.91 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005989/1.242, allocations: 2.047 MB / 1.183 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.242, allocations: 10.28 kB / 1.183 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007503/1.249, allocations: 0.6553 MB / 1.184 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/1.253, allocations: 1.275 MB / 1.185 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.253, allocations: 101.7 kB / 1.185 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/1.253, allocations: 135.9 kB / 1.185 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/1.257, allocations: 1.593 MB / 1.187 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/1.257, allocations: 7.062 kB / 1.187 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/1.258, allocations: 64.98 kB / 1.187 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/1.258, allocations: 46.58 kB / 1.187 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/1.261, allocations: 1.261 MB / 1.188 GB, free: 9.875 MB / 0.7136 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.01405/1.275, allocations: 7.252 MB / 1.195 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.277, allocations: 0.6064 MB / 1.196 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/1.278, allocations: 370.1 kB / 1.196 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/1.278, allocations: 109.7 kB / 1.196 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/1.278, allocations: 43.12 kB / 1.196 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001331/1.279, allocations: 151 kB / 1.197 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 4.509e-06/1.279, allocations: 0 / 1.197 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.003122/1.283, allocations: 0.9931 MB / 1.198 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.283, allocations: 59.97 kB / 1.198 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/1.285, allocations: 1.319 MB / 1.199 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/1.286, allocations: 53.64 kB / 1.199 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/1.287, allocations: 0.7655 MB / 1.2 GB, free: 148 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/1.287, allocations: 252.6 kB / 1.2 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/1.287, allocations: 16 kB / 1.2 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.287, allocations: 345.9 kB / 1.2 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/1.288, allocations: 333.8 kB / 1.201 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/1.289, allocations: 0.6353 MB / 1.201 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.291, allocations: 450.8 kB / 1.202 GB, free: 14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.291, allocations: 4 kB / 1.202 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002928/1.294, allocations: 1.12 MB / 1.203 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002393/1.294, allocations: 310 kB / 1.203 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.294, allocations: 8 kB / 1.203 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/1.294, allocations: 15.94 kB / 1.203 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.296, allocations: 211.6 kB / 1.203 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/1.296, allocations: 19.92 kB / 1.203 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/1.298, allocations: 136.8 kB / 1.203 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.298, allocations: 39.98 kB / 1.203 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.298, allocations: 4 kB / 1.203 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002501/1.301, allocations: 0.9639 MB / 1.204 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.301, allocations: 11.98 kB / 1.204 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.301, allocations: 12.91 kB / 1.204 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.303, allocations: 215.7 kB / 1.205 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/1.303, allocations: 15.94 kB / 1.205 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.305, allocations: 130.2 kB / 1.205 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.305, allocations: 43.98 kB / 1.205 GB, free: 10.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.001183/1.307, allocations: 0.4967 MB / 1.205 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/1.307, allocations: 146.2 kB / 1.205 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/1.309, allocations: 0.8122 MB / 1.206 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001647/1.311, allocations: 0.7706 MB / 1.207 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.311, allocations: 4 kB / 1.207 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.312, allocations: 331.2 kB / 1.207 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/1.312, allocations: 16 kB / 1.207 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.315, allocations: 123.4 kB / 1.207 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.315, allocations: 36.59 kB / 1.207 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003001/1.318, allocations: 0.8602 MB / 1.208 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003041/1.321, allocations: 1.354 MB / 1.21 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007744/1.322, allocations: 329.1 kB / 1.21 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001969/1.324, allocations: 0.8962 MB / 1.211 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of Backend: time 6.61e-07/1.324, allocations: 0 / 1.211 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005797/1.329, allocations: 1.693 MB / 1.213 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of SimCode: time 0.01261/1.342, allocations: 4.447 MB / 1.217 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.09776/1.44, allocations: 36.57 MB / 1.253 GB, free: 9.871 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)