Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008676, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7631, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2395/1.003, allocations: 223.7 MB / 1.199 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02218/1.025, allocations: 15.86 MB / 1.215 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/1.028, allocations: 59.62 kB / 1.215 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003678/1.031, allocations: 0.9876 MB / 1.216 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009804/1.041, allocations: 3.026 MB / 1.219 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00579/1.047, allocations: 1.758 MB / 1.221 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005651/1.053, allocations: 2.725 MB / 1.223 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/1.055, allocations: 1.33 MB / 1.224 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/1.06, allocations: 1.589 MB / 1.226 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/1.063, allocations: 0.9493 MB / 1.227 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000599/1.063, allocations: 76 kB / 1.227 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004477/1.068, allocations: 1.31 MB / 1.228 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.069, allocations: 0.5453 MB / 1.229 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.07, allocations: 428.8 kB / 1.229 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004323/1.074, allocations: 2.459 MB / 1.232 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.074, allocations: 4 kB / 1.232 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.374e-06/1.074, allocations: 4 kB / 1.232 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001101/1.075, allocations: 0 / 1.232 GB, free: 4.852 MB / 0.9825 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.004624/1.079, allocations: 1.987 MB / 1.234 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.079, allocations: 12.03 kB / 1.234 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003828/1.08, allocations: 198.1 kB / 1.234 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/1.084, allocations: 0.6494 MB / 1.234 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/1.087, allocations: 1.288 MB / 1.236 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/1.087, allocations: 106.5 kB / 1.236 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.087, allocations: 140 kB / 1.236 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/1.089, allocations: 1.55 MB / 1.237 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/1.09, allocations: 3.906 kB / 1.237 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.09, allocations: 56 kB / 1.238 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/1.09, allocations: 50.45 kB / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.092, allocations: 1.259 MB / 1.239 GB, free: 13.35 MB / 0.9981 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.009089/1.101, allocations: 7.226 MB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.102, allocations: 0.6465 MB / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/1.102, allocations: 16.55 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.102, allocations: 51.06 kB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008154/1.103, allocations: 147 kB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 2.615e-06/1.103, allocations: 0 / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.001757/1.105, allocations: 1.017 MB / 1.248 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.105, allocations: 59.97 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/1.106, allocations: 1.331 MB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/1.106, allocations: 49.69 kB / 1.249 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/1.107, allocations: 0.762 MB / 1.25 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/1.107, allocations: 252.4 kB / 1.25 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/1.107, allocations: 16 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.107, allocations: 341.9 kB / 1.25 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/1.108, allocations: 353.8 kB / 1.251 GB, free: 496 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7042/1.812, allocations: 0.6612 MB / 1.251 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.813, allocations: 454.3 kB / 1.252 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.813, allocations: 3.219 kB / 1.252 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00239/1.816, allocations: 1.139 MB / 1.253 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000547/1.816, allocations: 2.676 MB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/1.816, allocations: 7.562 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/1.816, allocations: 16.8 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/1.817, allocations: 206.6 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/1.817, allocations: 16.94 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.819, allocations: 140.6 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.819, allocations: 41.67 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.819, allocations: 3.938 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001756/1.821, allocations: 0.9818 MB / 1.257 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.821, allocations: 6.562 kB / 1.257 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/1.821, allocations: 14.5 kB / 1.257 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/1.822, allocations: 211.6 kB / 1.257 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/1.822, allocations: 13.09 kB / 1.257 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.824, allocations: 138.7 kB / 1.257 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/1.824, allocations: 41.84 kB / 1.257 GB, free: 264.1 MB / 0.9981 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.001028/1.825, allocations: 0.4946 MB / 1.258 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/1.825, allocations: 150.6 kB / 1.258 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/1.827, allocations: 0.8231 MB / 1.259 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.827, allocations: 7.844 kB / 1.259 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.827, allocations: 0.7031 kB / 1.259 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/1.828, allocations: 0.7844 MB / 1.26 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/1.833, allocations: 2.303 MB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.833, allocations: 2.344 kB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/1.834, allocations: 171.6 kB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/1.834, allocations: 4.531 kB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/1.834, allocations: 20.88 kB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/1.834, allocations: 7.812 kB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.834, allocations: 5.719 kB / 1.262 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/1.837, allocations: 1.34 MB / 1.263 GB, free: 261 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/1.837, allocations: 323.8 kB / 1.264 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.838, allocations: 18.39 kB / 1.264 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.839, allocations: 95.62 kB / 1.264 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.839, allocations: 53.12 kB / 1.264 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/1.839, allocations: 33.83 kB / 1.264 GB, free: 260.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001889/1.841, allocations: 0.8932 MB / 1.265 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.841, allocations: 0 / 1.265 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003222/1.844, allocations: 0.8382 MB / 1.265 GB, free: 260.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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.002642/1.847, allocations: 2.442 MB / 1.268 GB, free: 258.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002397/1.849, allocations: 1.326 MB / 1.269 GB, free: 258.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.849, allocations: 0 / 1.269 GB, free: 258.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/1.85, allocations: 350.2 kB / 1.269 GB, free: 258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/1.854, allocations: 0.8254 MB / 1.27 GB, free: 257.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/1.86, allocations: 8.949 MB / 1.279 GB, free: 250.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/1.861, allocations: 1.381 MB / 1.28 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001892/1.863, allocations: 410.1 kB / 1.281 GB, free: 249.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/1.864, allocations: 0.6156 MB / 1.281 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.864, allocations: 0 / 1.281 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/1.926, allocations: 40.34 MB / 1.321 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/1.926, allocations: 239.1 kB / 1.321 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/4.582, allocations: 2.25 kB / 1.321 GB, free: 210.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat does not exist to compare? outputFormat=mat