Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.00122/0.00122, allocations: 189 kB / 326.5 MB, free: 2.25 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.074/2.074, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.000996/0.0009961, allocations: 92.58 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 11.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.398/5.696, allocations: 2.201 GB / 3.101 GB, free: 17.08 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/5.696, allocations: 93.45 kB / 3.102 GB, free: 16.99 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.699/10.39, allocations: 1.256 GB / 4.357 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.453e-06/10.39, allocations: 0 / 4.357 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001822/10.4, allocations: 46.64 kB / 4.358 GB, free: 111.1 MB / 0.9011 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.006017/10.4, allocations: 2.37 MB / 4.36 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/10.4, allocations: 16.28 kB / 4.36 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004792/10.4, allocations: 203.6 kB / 4.36 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/10.41, allocations: 0.4939 MB / 4.361 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/10.41, allocations: 1.761 MB / 4.362 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/10.41, allocations: 103 kB / 4.362 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/10.41, allocations: 137.4 kB / 4.362 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/10.41, allocations: 1.581 MB / 4.364 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/10.41, allocations: 3.938 kB / 4.364 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/10.41, allocations: 60.38 kB / 4.364 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/10.41, allocations: 46.95 kB / 4.364 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/10.42, allocations: 1.263 MB / 4.365 GB, free: 107.6 MB / 0.9011 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.007919/10.42, allocations: 7.22 MB / 4.372 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/10.42, allocations: 0.6626 MB / 4.373 GB, free: 101 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/10.42, allocations: 110.3 kB / 4.373 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/10.42, allocations: 46.03 kB / 4.373 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009696/10.43, allocations: 164.1 kB / 4.373 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 4.739e-06/10.43, allocations: 3.938 kB / 4.373 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001699/10.43, allocations: 1.019 MB / 4.374 GB, free: 99.86 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/10.43, allocations: 59.41 kB / 4.374 GB, free: 99.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/10.43, allocations: 1.155 MB / 4.376 GB, free: 98.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/10.43, allocations: 45.7 kB / 4.376 GB, free: 98.59 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/10.43, allocations: 0.7724 MB / 4.376 GB, free: 97.81 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/10.43, allocations: 249.3 kB / 4.377 GB, free: 97.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/10.43, allocations: 16 kB / 4.377 GB, free: 97.55 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/10.43, allocations: 345.9 kB / 4.377 GB, free: 97.21 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/10.43, allocations: 313.1 kB / 4.377 GB, free: 96.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/10.43, allocations: 0.6107 MB / 4.378 GB, free: 96.17 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/10.43, allocations: 425.8 kB / 4.378 GB, free: 95.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/10.43, allocations: 0 / 4.378 GB, free: 95.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001352/10.43, allocations: 1.059 MB / 4.379 GB, free: 94.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005114/10.43, allocations: 2.674 MB / 4.382 GB, free: 91.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/10.43, allocations: 8 kB / 4.382 GB, free: 91.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/10.43, allocations: 12 kB / 4.382 GB, free: 91.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/10.43, allocations: 195.7 kB / 4.382 GB, free: 91.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/10.43, allocations: 15.94 kB / 4.382 GB, free: 91.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/10.43, allocations: 121 kB / 4.382 GB, free: 91.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/10.43, allocations: 43.98 kB / 4.382 GB, free: 91.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/10.43, allocations: 4 kB / 4.382 GB, free: 91.51 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/10.44, allocations: 0.8962 MB / 4.383 GB, free: 90.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/10.44, allocations: 4 kB / 4.383 GB, free: 90.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/10.44, allocations: 15.94 kB / 4.383 GB, free: 90.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/10.44, allocations: 199.7 kB / 4.383 GB, free: 90.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/10.44, allocations: 17.48 kB / 4.383 GB, free: 90.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/10.44, allocations: 121.7 kB / 4.383 GB, free: 90.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/10.44, allocations: 36 kB / 4.384 GB, free: 90.25 MB / 0.9011 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 (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.0006784/10.44, allocations: 0.4985 MB / 4.384 GB, free: 89.74 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/10.44, allocations: 158.1 kB / 4.384 GB, free: 89.58 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/10.44, allocations: 0.826 MB / 4.385 GB, free: 88.75 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/10.44, allocations: 8 kB / 4.385 GB, free: 88.74 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/10.44, allocations: 3.438 kB / 4.385 GB, free: 88.74 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007788/10.44, allocations: 0.7863 MB / 4.386 GB, free: 87.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/10.44, allocations: 2.358 MB / 4.388 GB, free: 85.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/10.44, allocations: 4 kB / 4.388 GB, free: 85.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/10.45, allocations: 163.8 kB / 4.388 GB, free: 85.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/10.45, allocations: 7.984 kB / 4.388 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/10.45, allocations: 20 kB / 4.388 GB, free: 85.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/10.45, allocations: 4 kB / 4.388 GB, free: 85.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/10.45, allocations: 11.44 kB / 4.388 GB, free: 85.28 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/10.45, allocations: 1.405 MB / 4.39 GB, free: 83.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/10.45, allocations: 341.6 kB / 4.39 GB, free: 83.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/10.45, allocations: 16 kB / 4.39 GB, free: 83.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/10.45, allocations: 109 kB / 4.39 GB, free: 83.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/10.45, allocations: 48.41 kB / 4.39 GB, free: 83.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/10.45, allocations: 35.97 kB / 4.39 GB, free: 83.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009908/10.45, allocations: 0.8923 MB / 4.391 GB, free: 82.36 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.21e-07/10.45, allocations: 0 / 4.391 GB, free: 82.36 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002938/10.45, allocations: 1.174 MB / 4.392 GB, free: 81.19 MB / 0.9011 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.005713/10.46, allocations: 5.444 MB / 4.397 GB, free: 75.83 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00158/10.46, allocations: 1.226 MB / 4.399 GB, free: 74.61 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/10.46, allocations: 4.25 kB / 4.399 GB, free: 74.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/10.46, allocations: 351 kB / 4.399 GB, free: 74.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/10.46, allocations: 0.891 MB / 4.4 GB, free: 73.39 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/10.48, allocations: 13.3 MB / 4.413 GB, free: 59.63 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/10.48, allocations: 1.391 MB / 4.414 GB, free: 58.21 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001764/10.48, allocations: 431.4 kB / 4.415 GB, free: 57.81 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/10.48, allocations: 0.6008 MB / 4.415 GB, free: 57.21 MB / 0.9011 GB Notification: Performance of SimCode: time 1.032e-06/10.48, allocations: 0 / 4.415 GB, free: 57.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.602/11.08, allocations: 86.48 MB / 4.5 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/11.08, allocations: 229.9 kB / 4.5 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.794/15.88, allocations: 0 / 4.5 GB, free: 129.8 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)