Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001159/0.001159, allocations: 179.7 kB / 377.1 MB, free: 1.52 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.567/1.567, allocations: 205.4 MB / 0.6366 GB, free: 8.605 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 87.42 kB / 0.7509 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003462, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2836, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.763/6.046, allocations: 2.084 GB / 3.073 GB, free: 135.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/6.047, allocations: 101 kB / 3.073 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.977/12.02, allocations: 1.291 GB / 4.363 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.975e-06/12.02, allocations: 4.688 kB / 4.363 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003486/12.02, allocations: 46.38 kB / 4.363 GB, free: 113.5 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.01014/12.03, allocations: 2.376 MB / 4.366 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/12.03, allocations: 7.625 kB / 4.366 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/12.04, allocations: 194.6 kB / 4.366 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/12.04, allocations: 0.5007 MB / 4.366 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007246/12.05, allocations: 1.744 MB / 4.368 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/12.05, allocations: 102.2 kB / 4.368 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008773/12.05, allocations: 134.2 kB / 4.368 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/12.06, allocations: 1.547 MB / 4.37 GB, free: 112 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/12.06, allocations: 9.562 kB / 4.37 GB, free: 112 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/12.06, allocations: 52.38 kB / 4.37 GB, free: 112 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/12.06, allocations: 52.94 kB / 4.37 GB, free: 112 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/12.06, allocations: 1.256 MB / 4.371 GB, free: 112 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.01365/12.07, allocations: 7.194 MB / 4.378 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/12.07, allocations: 0.6808 MB / 4.379 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/12.07, allocations: 106.2 kB / 4.379 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/12.07, allocations: 46.25 kB / 4.379 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001779/12.08, allocations: 170.1 kB / 4.379 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=67): time 9.909e-06/12.08, allocations: 0 / 4.379 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67): time 0.002551/12.08, allocations: 1.036 MB / 4.38 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/12.08, allocations: 60.81 kB / 4.38 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/12.08, allocations: 1.15 MB / 4.381 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/12.08, allocations: 44.64 kB / 4.381 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/12.08, allocations: 0.7746 MB / 4.382 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/12.08, allocations: 246.9 kB / 4.382 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/12.08, allocations: 21.33 kB / 4.382 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000105/12.08, allocations: 342.2 kB / 4.383 GB, free: 107 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/12.08, allocations: 313 kB / 4.383 GB, free: 107 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/12.08, allocations: 0.6559 MB / 4.384 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/12.09, allocations: 432.2 kB / 4.384 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/12.09, allocations: 3.219 kB / 4.384 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002127/12.09, allocations: 1.072 MB / 4.385 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006634/12.09, allocations: 2.504 MB / 4.387 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/12.09, allocations: 9.984 kB / 4.387 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-05/12.09, allocations: 9.375 kB / 4.387 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/12.09, allocations: 200.9 kB / 4.388 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.326e-05/12.09, allocations: 20.55 kB / 4.388 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/12.09, allocations: 114.1 kB / 4.388 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/12.09, allocations: 43.05 kB / 4.388 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/12.09, allocations: 3.25 kB / 4.388 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/12.09, allocations: 0.9135 MB / 4.389 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/12.09, allocations: 10.72 kB / 4.389 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/12.09, allocations: 9.875 kB / 4.389 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/12.09, allocations: 195.1 kB / 4.389 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/12.09, allocations: 18.75 kB / 4.389 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/12.1, allocations: 110.7 kB / 4.389 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/12.1, allocations: 43.75 kB / 4.389 GB, free: 103.9 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.001421/12.1, allocations: 498.8 kB / 4.39 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/12.1, allocations: 153.9 kB / 4.39 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/12.1, allocations: 0.8308 MB / 4.391 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/12.1, allocations: 6.094 kB / 4.391 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/12.1, allocations: 3.953 kB / 4.391 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/12.1, allocations: 0.7992 MB / 4.391 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/12.11, allocations: 2.347 MB / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/12.11, allocations: 7.219 kB / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/12.11, allocations: 176.8 kB / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/12.11, allocations: 3.094 kB / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/12.11, allocations: 19.16 kB / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/12.11, allocations: 3.719 kB / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/12.11, allocations: 0 / 4.394 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/12.11, allocations: 1.429 MB / 4.395 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/12.11, allocations: 325.3 kB / 4.396 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005525/12.11, allocations: 18.72 kB / 4.396 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/12.12, allocations: 97.95 kB / 4.396 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/12.12, allocations: 45.89 kB / 4.396 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/12.12, allocations: 39.83 kB / 4.396 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002/12.12, allocations: 0.8913 MB / 4.397 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.01e-07/12.12, allocations: 1.75 kB / 4.397 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006062/12.12, allocations: 1.16 MB / 4.398 GB, free: 102.2 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.009847/12.13, allocations: 5.464 MB / 4.403 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002738/12.14, allocations: 1.244 MB / 4.404 GB, free: 99.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/12.14, allocations: 3.25 kB / 4.404 GB, free: 99.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/12.14, allocations: 359.5 kB / 4.405 GB, free: 99.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/12.14, allocations: 0.8865 MB / 4.405 GB, free: 99.58 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/12.17, allocations: 13.06 MB / 4.418 GB, free: 92.26 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/12.17, allocations: 1.38 MB / 4.42 GB, free: 91.55 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002936/12.17, allocations: 427.1 kB / 4.42 GB, free: 91.53 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/12.17, allocations: 0.6081 MB / 4.421 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of SimCode: time 1.052e-06/12.17, allocations: 0 / 4.421 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1703/12.34, allocations: 86.49 MB / 4.505 GB, free: 88.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/12.34, allocations: 228.8 kB / 4.505 GB, free: 87.99 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.704/18.05, allocations: 7.875 kB / 4.505 GB, free: 87.98 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)