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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001568/0.001569, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.538/1.538, allocations: 205.1 MB / 222 MB, free: 4.773 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.671/1.671, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001385/0.001385, allocations: 70.22 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2293, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003035/0.2324, allocations: 1.986 MB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5701/0.8025, allocations: 153.1 MB / 0.9342 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.8027, allocations: 4.344 kB / 0.9342 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.8029, allocations: 20.45 kB / 0.9342 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.8032, allocations: 61.08 kB / 0.9343 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.8039, allocations: 229.7 kB / 0.9345 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.8041, allocations: 248.5 kB / 0.9348 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.8043, allocations: 61.67 kB / 0.9348 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.8061, allocations: 225.3 kB / 0.935 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.8062, allocations: 86.88 kB / 0.9351 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.8063, allocations: 10.81 kB / 0.9351 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.8066, allocations: 183.6 kB / 0.9353 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.8067, allocations: 36.5 kB / 0.9353 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.8069, allocations: 82.73 kB / 0.9354 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.8073, allocations: 270.2 kB / 0.9357 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8073, allocations: 1.906 kB / 0.9357 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8073, allocations: 0 / 0.9357 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.8073, allocations: 3 kB / 0.9357 GB, free: 5.719 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001273/0.8086, allocations: 0.5089 MB / 0.9362 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.8086, allocations: 11.69 kB / 0.9362 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.8087, allocations: 51.67 kB / 0.9362 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.8096, allocations: 79.92 kB / 0.9363 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.8099, allocations: 226.8 kB / 0.9365 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.81, allocations: 44.28 kB / 0.9366 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.8101, allocations: 14.75 kB / 0.9366 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.8106, allocations: 259.9 kB / 0.9368 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8106, allocations: 2.969 kB / 0.9368 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.8107, allocations: 12.17 kB / 0.9368 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8107, allocations: 5.156 kB / 0.9369 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.8111, allocations: 171.2 kB / 0.937 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.8127, allocations: 1.172 MB / 0.9382 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.8134, allocations: 202.3 kB / 0.9384 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.8136, allocations: 76.36 kB / 0.9384 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.8136, allocations: 3.641 kB / 0.9384 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.8137, allocations: 31.17 kB / 0.9385 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.8137, allocations: 0 / 0.9385 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.002658/0.8163, allocations: 0.6272 MB / 0.9391 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.8164, allocations: 58.81 kB / 0.9391 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.8166, allocations: 195.8 kB / 0.9393 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.8166, allocations: 29.33 kB / 0.9393 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.8167, allocations: 139.8 kB / 0.9395 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.8167, allocations: 39 kB / 0.9395 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.8168, allocations: 49.19 kB / 0.9396 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.8169, allocations: 329.8 kB / 0.9399 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.8171, allocations: 80.44 kB / 0.94 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.8174, allocations: 128.2 kB / 0.9401 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.8177, allocations: 200 kB / 0.9403 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8177, allocations: 3.531 kB / 0.9403 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00139/0.8191, allocations: 375.4 kB / 0.9406 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8192, allocations: 6.469 kB / 0.9406 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8192, allocations: 2.812 kB / 0.9406 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.8202, allocations: 158.5 kB / 0.9408 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.8205, allocations: 37.95 kB / 0.9408 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/0.824, allocations: 3.035 MB / 0.9438 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.8244, allocations: 40.28 kB / 0.9438 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.8244, allocations: 8.016 kB / 0.9438 GB, free: 16.18 MB / 0.7481 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.0001491/0.8245, allocations: 140.1 kB / 0.944 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.8246, allocations: 17.5 kB / 0.944 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.8259, allocations: 370.1 kB / 0.9443 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8259, allocations: 0.7031 kB / 0.9443 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.8259, allocations: 2.625 kB / 0.9443 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8259, allocations: 4.5 kB / 0.9443 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.8262, allocations: 273.5 kB / 0.9446 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8263, allocations: 1.094 kB / 0.9446 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.8264, allocations: 20.77 kB / 0.9446 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009371/0.8273, allocations: 167.3 kB / 0.9448 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.8274, allocations: 4.547 kB / 0.9448 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.8305, allocations: 3.082 MB / 0.9478 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8305, allocations: 4.547 kB / 0.9478 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.8317, allocations: 432.7 kB / 0.9482 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.8319, allocations: 103.3 kB / 0.9483 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.8319, allocations: 14.05 kB / 0.9483 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.8322, allocations: 14.28 kB / 0.9483 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.8323, allocations: 17.56 kB / 0.9484 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.8323, allocations: 8.562 kB / 0.9484 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001589/0.8325, allocations: 150.4 kB / 0.9485 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8325, allocations: 4 kB / 0.9485 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004175/0.8329, allocations: 69.5 kB / 0.9486 GB, free: 12.79 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 (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.001525/0.8344, allocations: 0.9725 MB / 0.9495 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009764/0.8354, allocations: 442.2 kB / 0.95 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8354, allocations: 0 / 0.95 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.8361, allocations: 355 kB / 0.9503 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.8365, allocations: 54.03 kB / 0.9503 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.8411, allocations: 2.561 MB / 0.9528 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.8414, allocations: 0.7308 MB / 0.9536 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000209/0.8416, allocations: 39.58 kB / 0.9536 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.8417, allocations: 52.69 kB / 0.9536 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.8417, allocations: 0 / 0.9536 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.8599, allocations: 6.737 MB / 0.9602 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.8602, allocations: 250.1 kB / 0.9605 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.837, allocations: 5.094 kB / 0.9605 GB, free: 8.602 MB / 0.7481 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)