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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.64/1.64, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001365/0.001365, allocations: 70.22 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1897, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003181/0.193, allocations: 1.921 MB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5207/0.7137, allocations: 155.4 MB / 0.9371 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.7139, allocations: 3.469 kB / 0.9371 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.7141, allocations: 27.73 kB / 0.9371 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.7144, allocations: 70.58 kB / 0.9372 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.715, allocations: 265.7 kB / 0.9374 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.7152, allocations: 255.4 kB / 0.9377 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.7154, allocations: 67.91 kB / 0.9377 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.7165, allocations: 243.5 kB / 0.938 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.7166, allocations: 91.55 kB / 0.9381 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.7166, allocations: 13.44 kB / 0.9381 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.7169, allocations: 185.1 kB / 0.9382 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.717, allocations: 43.53 kB / 0.9383 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.7171, allocations: 87.09 kB / 0.9384 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.7174, allocations: 270.3 kB / 0.9386 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7175, allocations: 4.766 kB / 0.9386 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7175, allocations: 0.5 kB / 0.9386 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7175, allocations: 0 / 0.9386 GB, free: 2.309 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.0009003/0.7184, allocations: 0.5031 MB / 0.9391 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.7184, allocations: 9.781 kB / 0.9391 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.7185, allocations: 54.89 kB / 0.9392 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008166/0.7193, allocations: 85.67 kB / 0.9393 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.7195, allocations: 222.3 kB / 0.9395 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.7196, allocations: 41.03 kB / 0.9395 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.7196, allocations: 16.53 kB / 0.9395 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.7201, allocations: 260.7 kB / 0.9398 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7201, allocations: 5.188 kB / 0.9398 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.7202, allocations: 7.375 kB / 0.9398 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.7202, allocations: 3.844 kB / 0.9398 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.7206, allocations: 171.2 kB / 0.94 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.722, allocations: 1.168 MB / 0.9411 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.7228, allocations: 203.2 kB / 0.9413 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.723, allocations: 75 kB / 0.9414 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.723, allocations: 6.484 kB / 0.9414 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.723, allocations: 35.31 kB / 0.9414 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.723, allocations: 0 / 0.9414 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002639/0.7257, allocations: 0.6209 MB / 0.942 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.7257, allocations: 53.38 kB / 0.9421 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.726, allocations: 206.6 kB / 0.9423 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.726, allocations: 27.7 kB / 0.9423 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.7261, allocations: 138.6 kB / 0.9424 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.7261, allocations: 40.19 kB / 0.9425 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.7262, allocations: 47.72 kB / 0.9425 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7264, allocations: 330.5 kB / 0.9428 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.7266, allocations: 77.69 kB / 0.9429 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.7268, allocations: 127.1 kB / 0.943 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.7272, allocations: 206.6 kB / 0.9432 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7272, allocations: 2.594 kB / 0.9432 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001386/0.7286, allocations: 367.2 kB / 0.9436 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7287, allocations: 5.938 kB / 0.9436 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7287, allocations: 2.219 kB / 0.9436 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.7297, allocations: 164.8 kB / 0.9437 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.73, allocations: 39.25 kB / 0.9438 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.7337, allocations: 3.261 MB / 0.9469 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.734, allocations: 35.33 kB / 0.947 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.7341, allocations: 9.906 kB / 0.947 GB, free: 12.51 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.7342, allocations: 128.3 kB / 0.9471 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.7343, allocations: 23.64 kB / 0.9471 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.7355, allocations: 371.1 kB / 0.9475 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7356, allocations: 3 kB / 0.9475 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.7356, allocations: 1.25 kB / 0.9475 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7356, allocations: 0 / 0.9475 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.7359, allocations: 270.6 kB / 0.9478 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7359, allocations: 5.094 kB / 0.9478 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.736, allocations: 24.83 kB / 0.9478 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008149/0.7368, allocations: 139.3 kB / 0.9479 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.7369, allocations: 1.062 kB / 0.9479 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/0.7405, allocations: 3.308 MB / 0.9511 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7405, allocations: 0.5 kB / 0.9511 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7418, allocations: 436.6 kB / 0.9516 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.7419, allocations: 102.9 kB / 0.9517 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.742, allocations: 9.188 kB / 0.9517 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.7423, allocations: 18.77 kB / 0.9517 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.7423, allocations: 20.02 kB / 0.9517 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.7424, allocations: 6.641 kB / 0.9517 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001971/0.7426, allocations: 154.6 kB / 0.9519 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7426, allocations: 0 / 0.9519 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004474/0.743, allocations: 76.91 kB / 0.9519 GB, free: 8.902 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/0.7446, allocations: 0.9783 MB / 0.9529 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009914/0.7456, allocations: 455 kB / 0.9533 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7456, allocations: 6.422 kB / 0.9533 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.7462, allocations: 354.4 kB / 0.9537 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.7467, allocations: 73.44 kB / 0.9537 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.7514, allocations: 2.512 MB / 0.9562 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.7517, allocations: 0.7288 MB / 0.9569 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.752, allocations: 45.11 kB / 0.9569 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.7521, allocations: 56.23 kB / 0.957 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.7521, allocations: 0 / 0.957 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.7841, allocations: 7.164 MB / 0.964 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.17, allocations: 15.86 kB / 0.964 GB, free: 4.812 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/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)