Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.608/1.608, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001754/0.001754, allocations: 183.1 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.27/2.27, allocations: 205.4 MB / 0.5775 GB, free: 20.61 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.001058/0.001058, allocations: 84.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 10.88 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.459, allocations: 132.4 MB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4594, allocations: 79.94 kB / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006893/0.4663, allocations: 2.384 MB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.408e-06/0.4663, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4664, allocations: 3.938 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005064/0.4669, allocations: 375.1 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4669, allocations: 8.031 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.467, allocations: 46.56 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.467, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.4672, allocations: 174.9 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.4673, allocations: 29.7 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.4673, allocations: 8 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.4675, allocations: 77.59 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4675, allocations: 4 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4676, allocations: 4 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.4676, allocations: 4 kB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4678, allocations: 47.95 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.4684, allocations: 312.8 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.4685, allocations: 58.48 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4685, allocations: 7.984 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4686, allocations: 34.56 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4686, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003786/0.469, allocations: 113.6 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.469, allocations: 55.36 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.4691, allocations: 101 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.4691, allocations: 33.7 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.4692, allocations: 92.06 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.4693, allocations: 15.75 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.4693, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4694, allocations: 314.8 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.4695, allocations: 31.97 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.4696, allocations: 37.7 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/0.4697, allocations: 29.73 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4697, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002319/0.47, allocations: 105.5 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.47, allocations: 9.969 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.47, allocations: 7.969 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.47, allocations: 0 / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4702, allocations: 15.98 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4702, allocations: 4 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.4702, allocations: 7.953 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.4703, allocations: 4 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001087/0.4704, allocations: 113.8 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.4704, allocations: 7.984 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.4704, allocations: 3.906 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4705, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4705, allocations: 4 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4705, allocations: 0 / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4707, allocations: 185.4 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4707, allocations: 0 / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.4708, allocations: 15.98 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4708, allocations: 7.938 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4708, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4708, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4708, allocations: 128 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.4711, allocations: 187.5 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.4712, allocations: 85.11 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.4712, allocations: 0 / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4713, allocations: 15.98 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.4714, allocations: 3.984 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4714, allocations: 4 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.4715, allocations: 87.27 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4715, allocations: 4 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002288/0.4717, allocations: 11.91 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0006379/0.4724, allocations: 0.7202 MB / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.4726, allocations: 56.28 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4726, allocations: 4 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4727, allocations: 40.06 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.473, allocations: 4 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.4736, allocations: 0.4981 MB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4739, allocations: 0.6887 MB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.898e-05/0.474, allocations: 4 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.474, allocations: 11.44 kB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.474, allocations: 7.938 kB / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.4868, allocations: 1.475 MB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.487, allocations: 198.1 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.069, allocations: 0 / 1.038 GB, free: 2.43 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)