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.001136/0.001136, allocations: 109.4 kB / 15.69 MB, free: 128 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.001741/0.001741, allocations: 189.8 kB / 16.62 MB, free: 6.613 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.352/1.352, allocations: 222.9 MB / 240.3 MB, free: 4.348 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.005/1.005, allocations: 143 MB / 433.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.5144 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1975, allocations: 82.04 MB / 0.5945 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003139/0.2007, allocations: 1.876 MB / 0.5964 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4676/0.6683, allocations: 155.5 MB / 0.7482 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.6686, allocations: 6.438 kB / 0.7482 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.6688, allocations: 30.53 kB / 0.7482 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.6692, allocations: 70.2 kB / 0.7483 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.6702, allocations: 255.8 kB / 0.7485 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.6705, allocations: 266.4 kB / 0.7488 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.6707, allocations: 67.83 kB / 0.7488 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.672, allocations: 239.5 kB / 0.7491 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.6721, allocations: 94.03 kB / 0.7492 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.6722, allocations: 15.56 kB / 0.7492 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.6725, allocations: 182.7 kB / 0.7493 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.6726, allocations: 39.84 kB / 0.7494 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.6727, allocations: 93.34 kB / 0.7495 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.6731, allocations: 284 kB / 0.7497 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6731, allocations: 0 / 0.7497 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6731, allocations: 0 / 0.7497 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.6731, allocations: 0.9375 kB / 0.7497 GB, free: 13.48 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.0009812/0.6741, allocations: 0.509 MB / 0.7502 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.6742, allocations: 12.03 kB / 0.7503 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.6742, allocations: 48.42 kB / 0.7503 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/0.6751, allocations: 83.81 kB / 0.7504 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.6754, allocations: 229.8 kB / 0.7506 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.6755, allocations: 45.41 kB / 0.7506 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.6756, allocations: 14.62 kB / 0.7507 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.6761, allocations: 261.6 kB / 0.7509 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6761, allocations: 0 / 0.7509 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.6762, allocations: 11.97 kB / 0.7509 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.6762, allocations: 4.25 kB / 0.7509 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.6766, allocations: 168.5 kB / 0.7511 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.6783, allocations: 1.17 MB / 0.7522 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.679, allocations: 211.7 kB / 0.7524 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.6792, allocations: 79.12 kB / 0.7525 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6793, allocations: 3.156 kB / 0.7525 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.6793, allocations: 35.94 kB / 0.7525 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.6793, allocations: 0 / 0.7525 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002682/0.682, allocations: 0.6249 MB / 0.7532 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.682, allocations: 51.41 kB / 0.7532 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.6823, allocations: 198.6 kB / 0.7534 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.6823, allocations: 33.7 kB / 0.7534 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.6824, allocations: 139.5 kB / 0.7536 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.6825, allocations: 35.45 kB / 0.7536 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.6826, allocations: 49.59 kB / 0.7536 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6827, allocations: 338.7 kB / 0.754 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.6829, allocations: 64.45 kB / 0.754 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.6832, allocations: 134.6 kB / 0.7542 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.6836, allocations: 205.7 kB / 0.7543 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6836, allocations: 0 / 0.7543 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001412/0.685, allocations: 372.8 kB / 0.7547 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.685, allocations: 8 kB / 0.7547 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.685, allocations: 0 / 0.7547 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.6862, allocations: 169.7 kB / 0.7549 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.6864, allocations: 39.91 kB / 0.7549 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/0.6903, allocations: 3.254 MB / 0.7581 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.6906, allocations: 31.67 kB / 0.7581 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.6907, allocations: 20.05 kB / 0.7581 GB, free: 5 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.0001447/0.6908, allocations: 129.7 kB / 0.7583 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.6909, allocations: 11.91 kB / 0.7583 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.6922, allocations: 380.1 kB / 0.7586 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6922, allocations: 0 / 0.7586 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.6922, allocations: 0 / 0.7586 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6922, allocations: 4 kB / 0.7586 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.6925, allocations: 265.5 kB / 0.7589 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6926, allocations: 0 / 0.7589 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.6927, allocations: 27.92 kB / 0.7589 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008305/0.6935, allocations: 141.6 kB / 0.7591 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6936, allocations: 3.984 kB / 0.7591 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.6971, allocations: 3.294 MB / 0.7623 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6971, allocations: 4.062 kB / 0.7623 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6985, allocations: 435 kB / 0.7627 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.6986, allocations: 104.8 kB / 0.7628 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.6986, allocations: 11.94 kB / 0.7628 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.6989, allocations: 15.98 kB / 0.7628 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.699, allocations: 19.88 kB / 0.7628 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.699, allocations: 8 kB / 0.7628 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001652/0.6992, allocations: 155.3 kB / 0.763 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6992, allocations: 3.938 kB / 0.763 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004263/0.6996, allocations: 67.94 kB / 0.7631 GB, free: 15.55 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.001617/0.7013, allocations: 0.9881 MB / 0.764 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.7024, allocations: 449.2 kB / 0.7645 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7024, allocations: 0 / 0.7645 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.7031, allocations: 353.2 kB / 0.7648 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.7035, allocations: 57.92 kB / 0.7648 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.7085, allocations: 2.498 MB / 0.7673 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7088, allocations: 0.7323 MB / 0.768 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.709, allocations: 41.92 kB / 0.768 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.7091, allocations: 55.41 kB / 0.7681 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.7091, allocations: 0 / 0.7681 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.7374, allocations: 7.256 MB / 0.7752 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.11, allocations: 8.484 kB / 0.7752 GB, free: 3.191 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)