Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00111/0.00111, 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.001118/0.001118, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.015/1.015, allocations: 143.1 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1451, allocations: 82.03 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003252/0.1484, allocations: 1.885 MB / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.415/0.5635, allocations: 155.5 MB / 0.748 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.5637, allocations: 2.688 kB / 0.748 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.564, allocations: 27.66 kB / 0.7481 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.5644, allocations: 76.61 kB / 0.7481 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.5652, allocations: 260.9 kB / 0.7484 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.5656, allocations: 257.2 kB / 0.7486 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.5659, allocations: 62.28 kB / 0.7487 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.5676, allocations: 239.9 kB / 0.7489 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.5678, allocations: 98.41 kB / 0.749 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.5679, allocations: 14.22 kB / 0.749 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.5684, allocations: 190.9 kB / 0.7492 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.5685, allocations: 34.91 kB / 0.7492 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.5686, allocations: 91.53 kB / 0.7493 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.5692, allocations: 277 kB / 0.7496 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5692, allocations: 1.312 kB / 0.7496 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5692, allocations: 0 / 0.7496 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.5692, allocations: 0 / 0.7496 GB, free: 13.61 MB / 0.5762 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.001263/0.5705, allocations: 0.504 MB / 0.7501 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.5705, allocations: 9.812 kB / 0.7501 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/0.5706, allocations: 54.33 kB / 0.7502 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009488/0.5716, allocations: 88.78 kB / 0.7502 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.5719, allocations: 224.5 kB / 0.7504 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/0.572, allocations: 45.83 kB / 0.7505 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.572, allocations: 13.53 kB / 0.7505 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.5726, allocations: 256.9 kB / 0.7508 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5726, allocations: 5.359 kB / 0.7508 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.5727, allocations: 16.72 kB / 0.7508 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5727, allocations: 3.531 kB / 0.7508 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.5732, allocations: 167.8 kB / 0.7509 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.5748, allocations: 1.177 MB / 0.7521 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.5756, allocations: 207.8 kB / 0.7523 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.5758, allocations: 71.81 kB / 0.7524 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.5759, allocations: 1.312 kB / 0.7524 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5759, allocations: 31.78 kB / 0.7524 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.5759, allocations: 4 kB / 0.7524 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002773/0.5787, allocations: 0.6261 MB / 0.753 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5788, allocations: 55.34 kB / 0.7531 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.579, allocations: 202.6 kB / 0.7532 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.579, allocations: 27.86 kB / 0.7533 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.5791, allocations: 139.5 kB / 0.7534 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.5792, allocations: 47.45 kB / 0.7534 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.5793, allocations: 45.59 kB / 0.7535 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5794, allocations: 326.8 kB / 0.7538 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5797, allocations: 71.94 kB / 0.7539 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.5799, allocations: 134.9 kB / 0.754 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.5804, allocations: 199.2 kB / 0.7542 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5804, allocations: 0 / 0.7542 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001415/0.5818, allocations: 375.8 kB / 0.7546 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5818, allocations: 8 kB / 0.7546 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5818, allocations: 0 / 0.7546 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.5829, allocations: 162.4 kB / 0.7547 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.5831, allocations: 39.91 kB / 0.7548 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003885/0.587, allocations: 3.257 MB / 0.7579 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.5874, allocations: 43.69 kB / 0.758 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.5875, allocations: 8 kB / 0.758 GB, free: 5.133 MB / 0.5762 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.0001551/0.5876, allocations: 137.6 kB / 0.7581 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.5877, allocations: 15.97 kB / 0.7581 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.589, allocations: 374.5 kB / 0.7585 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.589, allocations: 0 / 0.7585 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.589, allocations: 0 / 0.7585 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5891, allocations: 0 / 0.7585 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.5894, allocations: 277.4 kB / 0.7587 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5894, allocations: 0 / 0.7587 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.5895, allocations: 27.92 kB / 0.7588 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008108/0.5904, allocations: 141.6 kB / 0.7589 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.5904, allocations: 4.625 kB / 0.7589 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.594, allocations: 3.299 MB / 0.7621 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.594, allocations: 0 / 0.7621 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.5953, allocations: 432.7 kB / 0.7625 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5954, allocations: 104.9 kB / 0.7626 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.5955, allocations: 3.938 kB / 0.7627 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.5957, allocations: 19.92 kB / 0.7627 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.5958, allocations: 24.06 kB / 0.7627 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.5959, allocations: 4 kB / 0.7627 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001706/0.596, allocations: 154.4 kB / 0.7628 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.596, allocations: 0 / 0.7628 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000403/0.5964, allocations: 67.94 kB / 0.7629 GB, free: 15.68 MB / 0.5919 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.001581/0.598, allocations: 0.9905 MB / 0.7639 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.5991, allocations: 445.2 kB / 0.7643 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5991, allocations: 0 / 0.7643 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.5998, allocations: 366.6 kB / 0.7647 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.6003, allocations: 57.31 kB / 0.7647 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.6054, allocations: 2.5 MB / 0.7671 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.6057, allocations: 0.7322 MB / 0.7679 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.606, allocations: 41.86 kB / 0.7679 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.6061, allocations: 59.41 kB / 0.768 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6061, allocations: 0 / 0.768 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.6358, allocations: 7.209 MB / 0.775 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.88, allocations: 12.61 kB / 0.775 GB, free: 3.32 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)