Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001163/0.001163, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 193.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.1 MB, free: 4.711 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 1.591/1.591, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001317/0.001317, allocations: 66.22 kB / 0.6711 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2229, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002886/0.2258, allocations: 1.757 MB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5402/0.766, allocations: 147.5 MB / 0.9287 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.7662, allocations: 4.906 kB / 0.9287 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.7664, allocations: 17.58 kB / 0.9287 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.7666, allocations: 44.03 kB / 0.9288 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.767, allocations: 170.1 kB / 0.9289 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.7672, allocations: 155.7 kB / 0.9291 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.7673, allocations: 25.7 kB / 0.9291 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.769, allocations: 189.8 kB / 0.9293 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.7691, allocations: 57.78 kB / 0.9293 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.7692, allocations: 10.84 kB / 0.9293 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.7695, allocations: 165.2 kB / 0.9295 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.7695, allocations: 29.28 kB / 0.9295 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.7696, allocations: 52.86 kB / 0.9296 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.7699, allocations: 191.6 kB / 0.9298 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7699, allocations: 0 / 0.9298 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7699, allocations: 0 / 0.9298 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7699, allocations: 4 kB / 0.9298 GB, free: 6.113 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00118/0.7711, allocations: 461.1 kB / 0.9302 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.7712, allocations: 9.469 kB / 0.9302 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.7712, allocations: 45.59 kB / 0.9303 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/0.7719, allocations: 54.06 kB / 0.9303 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.7721, allocations: 198.6 kB / 0.9305 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7722, allocations: 8.219 kB / 0.9305 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.7722, allocations: 9.562 kB / 0.9305 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.7727, allocations: 187.7 kB / 0.9307 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.7727, allocations: 2.906 kB / 0.9307 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.7727, allocations: 5.219 kB / 0.9307 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.7727, allocations: 2.859 kB / 0.9307 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.7732, allocations: 145.3 kB / 0.9308 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.7745, allocations: 0.8174 MB / 0.9316 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.7749, allocations: 134.5 kB / 0.9318 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.7752, allocations: 77.56 kB / 0.9318 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.7752, allocations: 6.422 kB / 0.9318 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.7752, allocations: 38.67 kB / 0.9319 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.7752, allocations: 0 / 0.9319 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.002014/0.7773, allocations: 457.8 kB / 0.9323 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.7773, allocations: 56.09 kB / 0.9324 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.7775, allocations: 144.5 kB / 0.9325 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.7775, allocations: 33.39 kB / 0.9325 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.7776, allocations: 106.9 kB / 0.9326 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.7776, allocations: 28.28 kB / 0.9327 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.7777, allocations: 34.81 kB / 0.9327 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7778, allocations: 324.4 kB / 0.933 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.7781, allocations: 66.23 kB / 0.9331 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.7783, allocations: 110.7 kB / 0.9332 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.7788, allocations: 173.8 kB / 0.9333 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7788, allocations: 0 / 0.9333 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001012/0.7798, allocations: 279.2 kB / 0.9336 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7798, allocations: 10.75 kB / 0.9336 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7799, allocations: 1.266 kB / 0.9336 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.7805, allocations: 87.23 kB / 0.9337 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.7807, allocations: 36.98 kB / 0.9337 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/0.805, allocations: 1.656 MB / 0.9354 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.8054, allocations: 24.03 kB / 0.9354 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.8055, allocations: 8.703 kB / 0.9354 GB, free: 18.29 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.8057, allocations: 131.3 kB / 0.9355 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.8057, allocations: 11.11 kB / 0.9355 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.807, allocations: 318.6 kB / 0.9358 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.807, allocations: 0.6094 kB / 0.9358 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.807, allocations: 3.031 kB / 0.9358 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.807, allocations: 0.5625 kB / 0.9358 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.8073, allocations: 230 kB / 0.9361 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8073, allocations: 1.438 kB / 0.9361 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.8075, allocations: 34.53 kB / 0.9361 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.8079, allocations: 74.8 kB / 0.9362 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.8079, allocations: 13.02 kB / 0.9362 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.8097, allocations: 1.688 MB / 0.9378 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8097, allocations: 4 kB / 0.9378 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.8107, allocations: 371.1 kB / 0.9382 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.8108, allocations: 88.86 kB / 0.9383 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.8108, allocations: 0 / 0.9383 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.811, allocations: 22.33 kB / 0.9383 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.8111, allocations: 14.86 kB / 0.9383 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.8111, allocations: 5.094 kB / 0.9383 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.8112, allocations: 111.6 kB / 0.9384 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8112, allocations: 1.094 kB / 0.9384 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003329/0.8115, allocations: 50.17 kB / 0.9385 GB, free: 16.16 MB / 0.7481 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.8128, allocations: 0.9306 MB / 0.9394 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008192/0.8136, allocations: 315.3 kB / 0.9397 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8137, allocations: 0 / 0.9397 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.8142, allocations: 226.7 kB / 0.9399 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.8145, allocations: 23.08 kB / 0.9399 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.8181, allocations: 2.089 MB / 0.9419 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.8183, allocations: 0.7056 MB / 0.9426 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000167/0.8185, allocations: 26.75 kB / 0.9427 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.8186, allocations: 38.91 kB / 0.9427 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.8186, allocations: 2.359 kB / 0.9427 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.8357, allocations: 4.473 MB / 0.9471 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.836, allocations: 246.6 kB / 0.9473 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.763, allocations: 0 / 0.9473 GB, free: 12.52 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)