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.543/2.543, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001514/0.001514, allocations: 183.2 kB / 370.8 MB, free: 10.84 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.056/2.056, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001247/0.001247, allocations: 88.8 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004823, allocations: 11.75 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2779, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.807/7.085, allocations: 2.083 GB / 3.061 GB, free: 191.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/7.085, allocations: 107.2 kB / 3.061 GB, free: 191.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.608/14.69, allocations: 1.291 GB / 4.352 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.498e-06/14.69, allocations: 2.719 kB / 4.352 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004305/14.69, allocations: 47.81 kB / 4.352 GB, free: 133.7 MB / 0.9792 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.01343/14.71, allocations: 2.372 MB / 4.354 GB, free: 133.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/14.71, allocations: 10.59 kB / 4.354 GB, free: 133.1 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/14.71, allocations: 194.5 kB / 4.355 GB, free: 133.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009086/14.72, allocations: 0.496 MB / 4.355 GB, free: 133 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009119/14.73, allocations: 1.746 MB / 4.357 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/14.73, allocations: 101.3 kB / 4.357 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008204/14.73, allocations: 136.3 kB / 4.357 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006726/14.74, allocations: 1.55 MB / 4.358 GB, free: 132.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-05/14.74, allocations: 0.6562 kB / 4.358 GB, free: 132.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/14.74, allocations: 62.53 kB / 4.359 GB, free: 132.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.373e-05/14.74, allocations: 45.64 kB / 4.359 GB, free: 132.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005128/14.74, allocations: 1.257 MB / 4.36 GB, free: 132.4 MB / 0.9792 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.01913/14.76, allocations: 7.2 MB / 4.367 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/14.76, allocations: 0.6754 MB / 4.367 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/14.76, allocations: 110.6 kB / 4.368 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.259e-05/14.76, allocations: 42.97 kB / 4.368 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002376/14.77, allocations: 168.6 kB / 4.368 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=67): time 9.929e-06/14.77, allocations: 0 / 4.368 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67): time 0.004663/14.77, allocations: 1.031 MB / 4.369 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/14.77, allocations: 70.44 kB / 4.369 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/14.77, allocations: 1.155 MB / 4.37 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003558/14.77, allocations: 47.52 kB / 4.37 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/14.78, allocations: 0.7731 MB / 4.371 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/14.78, allocations: 240.4 kB / 4.371 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/14.78, allocations: 22.62 kB / 4.371 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001106/14.78, allocations: 335.2 kB / 4.371 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/14.78, allocations: 321.2 kB / 4.372 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/14.78, allocations: 0.6514 MB / 4.372 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/14.78, allocations: 439.2 kB / 4.373 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/14.78, allocations: 0 / 4.373 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003426/14.78, allocations: 1.072 MB / 4.374 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006295/14.78, allocations: 2.508 MB / 4.376 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/14.78, allocations: 6.531 kB / 4.376 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.185e-05/14.78, allocations: 14.19 kB / 4.376 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/14.79, allocations: 197.1 kB / 4.376 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-05/14.79, allocations: 13.66 kB / 4.376 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/14.79, allocations: 122 kB / 4.377 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/14.79, allocations: 39.59 kB / 4.377 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/14.79, allocations: 3.875 kB / 4.377 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002473/14.79, allocations: 0.9103 MB / 4.377 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/14.79, allocations: 10.53 kB / 4.377 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/14.79, allocations: 10.75 kB / 4.377 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/14.79, allocations: 191.6 kB / 4.378 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.882e-05/14.79, allocations: 18.94 kB / 4.378 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/14.8, allocations: 120.2 kB / 4.378 GB, free: 124.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/14.8, allocations: 41.05 kB / 4.378 GB, free: 124.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 111 * 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 prepare postOptimizeDAE: time 0.001647/14.8, allocations: 495.2 kB / 4.378 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/14.8, allocations: 156.7 kB / 4.378 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/14.8, allocations: 0.8367 MB / 4.379 GB, free: 124 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/14.8, allocations: 9.891 kB / 4.379 GB, free: 124 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/14.8, allocations: 3.844 kB / 4.379 GB, free: 124 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/14.8, allocations: 0.8044 MB / 4.38 GB, free: 123.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/14.81, allocations: 2.331 MB / 4.382 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/14.81, allocations: 2.5 kB / 4.382 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/14.81, allocations: 176.6 kB / 4.383 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/14.81, allocations: 3.688 kB / 4.383 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/14.81, allocations: 17.53 kB / 4.383 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/14.81, allocations: 4.094 kB / 4.383 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/14.81, allocations: 6.969 kB / 4.383 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/14.82, allocations: 1.431 MB / 4.384 GB, free: 123 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/14.82, allocations: 328.2 kB / 4.384 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000785/14.82, allocations: 18.38 kB / 4.384 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/14.82, allocations: 99.33 kB / 4.384 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/14.82, allocations: 46.91 kB / 4.384 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/14.82, allocations: 32.31 kB / 4.384 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002391/14.83, allocations: 0.8918 MB / 4.385 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.71e-07/14.83, allocations: 5.594 kB / 4.385 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006556/14.83, allocations: 1.159 MB / 4.386 GB, free: 122.6 MB / 0.9792 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 (72): * Single equations (assignments): 72 * 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.01157/14.84, allocations: 5.446 MB / 4.392 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004108/14.85, allocations: 1.246 MB / 4.393 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/14.85, allocations: 2.031 kB / 4.393 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/14.85, allocations: 355.3 kB / 4.393 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009023/14.86, allocations: 0.8933 MB / 4.394 GB, free: 120 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/14.89, allocations: 13.07 MB / 4.407 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/14.89, allocations: 1.381 MB / 4.408 GB, free: 112 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003905/14.9, allocations: 425.5 kB / 4.409 GB, free: 112 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/14.9, allocations: 0.6099 MB / 4.409 GB, free: 112 MB / 0.9792 GB Notification: Performance of SimCode: time 1.733e-06/14.9, allocations: 0 / 4.409 GB, free: 112 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2594/15.16, allocations: 86.5 MB / 4.494 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/15.16, allocations: 226.9 kB / 4.494 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/22.12, allocations: 7.938 kB / 4.494 GB, free: 109.3 MB / 0.9792 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)