Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001772/0.001773, allocations: 103 kB / 15.06 MB, free: 1.098 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.002019/0.002019, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.863/3.863, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.262/3.262, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 11.53 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4998, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003495/0.5034, allocations: 1.574 MB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.515/2.019, allocations: 130.9 MB / 0.9166 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/2.019, allocations: 2.156 kB / 0.9166 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003219/2.019, allocations: 18.36 kB / 0.9166 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004858/2.02, allocations: 74.92 kB / 0.9167 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/2.021, allocations: 217.1 kB / 0.9169 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000482/2.022, allocations: 160.8 kB / 0.917 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/2.022, allocations: 54.34 kB / 0.9171 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006861/2.023, allocations: 148.1 kB / 0.9172 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/2.023, allocations: 75.67 kB / 0.9173 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/2.023, allocations: 9.219 kB / 0.9173 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009063/2.024, allocations: 185.9 kB / 0.9175 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/2.024, allocations: 30.95 kB / 0.9175 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/2.024, allocations: 52.08 kB / 0.9176 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006783/2.025, allocations: 188.6 kB / 0.9177 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/2.025, allocations: 3.516 kB / 0.9177 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.029e-06/2.025, allocations: 0 / 0.9177 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.819e-06/2.025, allocations: 0 / 0.9177 GB, free: 5.648 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002372/2.027, allocations: 494.1 kB / 0.9182 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.275e-05/2.028, allocations: 8.344 kB / 0.9182 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/2.028, allocations: 53.17 kB / 0.9183 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/2.029, allocations: 86.03 kB / 0.9184 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/2.03, allocations: 218.2 kB / 0.9186 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/2.03, allocations: 40.78 kB / 0.9186 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/2.03, allocations: 18.22 kB / 0.9186 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/2.031, allocations: 269.1 kB / 0.9189 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/2.031, allocations: 1.062 kB / 0.9189 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.956e-05/2.031, allocations: 6.703 kB / 0.9189 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/2.031, allocations: 5.188 kB / 0.9189 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/2.032, allocations: 182.9 kB / 0.9191 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/2.035, allocations: 1.173 MB / 0.9202 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/2.037, allocations: 217.9 kB / 0.9204 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/2.037, allocations: 8.969 kB / 0.9204 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.136e-05/2.037, allocations: 36.75 kB / 0.9205 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 5.279e-06/2.037, allocations: 0 / 0.9205 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.004745/2.042, allocations: 0.6449 MB / 0.9211 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.042, allocations: 54.97 kB / 0.9211 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/2.042, allocations: 193.2 kB / 0.9213 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.872e-05/2.042, allocations: 33.48 kB / 0.9214 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/2.043, allocations: 140.2 kB / 0.9215 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/2.043, allocations: 42.81 kB / 0.9215 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/2.043, allocations: 0 / 0.9215 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003686/2.043, allocations: 330.5 kB / 0.9218 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/2.044, allocations: 67.88 kB / 0.9219 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/2.044, allocations: 141.1 kB / 0.922 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/2.045, allocations: 84.3 kB / 0.9221 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/2.045, allocations: 3.328 kB / 0.9221 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003697/2.049, allocations: 390.9 kB / 0.9225 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/2.049, allocations: 5.625 kB / 0.9225 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/2.049, allocations: 2.781 kB / 0.9225 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/2.051, allocations: 165.7 kB / 0.9227 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/2.052, allocations: 38.56 kB / 0.9227 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.062, allocations: 3.058 MB / 0.9257 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/2.063, allocations: 38.59 kB / 0.9257 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/2.063, allocations: 14.39 kB / 0.9257 GB, free: 16.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/2.063, allocations: 126 kB / 0.9259 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/2.063, allocations: 15.67 kB / 0.9259 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/2.065, allocations: 388.1 kB / 0.9262 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/2.065, allocations: 3.281 kB / 0.9262 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/2.065, allocations: 1.75 kB / 0.9263 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/2.065, allocations: 1.969 kB / 0.9263 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/2.066, allocations: 274 kB / 0.9265 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.066, allocations: 0 / 0.9265 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/2.067, allocations: 27.81 kB / 0.9265 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/2.068, allocations: 172.2 kB / 0.9267 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/2.068, allocations: 0.6562 kB / 0.9267 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006765/2.075, allocations: 3.11 MB / 0.9297 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/2.075, allocations: 0.875 kB / 0.9297 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/2.077, allocations: 447.9 kB / 0.9302 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/2.078, allocations: 110.3 kB / 0.9303 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/2.078, allocations: 3.25 kB / 0.9303 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/2.078, allocations: 18.27 kB / 0.9303 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/2.078, allocations: 20.67 kB / 0.9303 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/2.078, allocations: 6.516 kB / 0.9303 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003178/2.079, allocations: 151.7 kB / 0.9305 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/2.079, allocations: 0 / 0.9305 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008721/2.08, allocations: 72.8 kB / 0.9305 GB, free: 12.81 MB / 0.7325 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003011/2.083, allocations: 0.9815 MB / 0.9315 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001801/2.085, allocations: 461.5 kB / 0.9319 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.085, allocations: 1.422 kB / 0.9319 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/2.086, allocations: 367.2 kB / 0.9323 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/2.086, allocations: 53.67 kB / 0.9323 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/2.093, allocations: 2.375 MB / 0.9347 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/2.094, allocations: 0.7322 MB / 0.9354 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004674/2.094, allocations: 40.06 kB / 0.9354 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/2.095, allocations: 59.66 kB / 0.9355 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of SimCode: time 1.824e-06/2.095, allocations: 0 / 0.9355 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/2.139, allocations: 6.632 MB / 0.9419 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003691/2.14, allocations: 223.2 kB / 0.9422 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/5.774, allocations: 0 / 0.9422 GB, free: 8.609 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: