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.006852/0.006852, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001622/0.001622, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.029/1.029, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 55.91 kB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4251, allocations: 82.02 MB / 0.6751 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003628/0.4288, allocations: 1.885 MB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.6063, allocations: 155.5 MB / 0.8288 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.6065, allocations: 0 / 0.8288 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.6068, allocations: 27.67 kB / 0.8289 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.6072, allocations: 79.47 kB / 0.8289 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.608, allocations: 251.2 kB / 0.8292 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.6084, allocations: 259.2 kB / 0.8294 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.6086, allocations: 71.22 kB / 0.8295 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.61, allocations: 253.2 kB / 0.8297 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.6102, allocations: 83.67 kB / 0.8298 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.6102, allocations: 16 kB / 0.8298 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.6106, allocations: 187.7 kB / 0.83 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.6107, allocations: 47.83 kB / 0.83 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.6108, allocations: 87.58 kB / 0.8301 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.6114, allocations: 283.1 kB / 0.8304 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.6114, allocations: 8 kB / 0.8304 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6114, allocations: 0 / 0.8304 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.6114, allocations: 3.938 kB / 0.8304 GB, free: 6.863 MB / 0.6544 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.001011/0.6124, allocations: 0.5029 MB / 0.8309 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6125, allocations: 8.031 kB / 0.8309 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.6125, allocations: 54.55 kB / 0.831 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.6134, allocations: 87.7 kB / 0.831 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.6137, allocations: 226.6 kB / 0.8313 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.6138, allocations: 41.97 kB / 0.8313 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.6138, allocations: 12 kB / 0.8313 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.6143, allocations: 263.3 kB / 0.8316 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6144, allocations: 0 / 0.8316 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.6144, allocations: 15.94 kB / 0.8316 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.6144, allocations: 4 kB / 0.8316 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.6148, allocations: 167.8 kB / 0.8317 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.6164, allocations: 1.173 MB / 0.8329 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.6172, allocations: 210.6 kB / 0.8331 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.6174, allocations: 72.81 kB / 0.8332 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.6174, allocations: 4 kB / 0.8332 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6174, allocations: 30.56 kB / 0.8332 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.6174, allocations: 0 / 0.8332 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002607/0.62, allocations: 0.6219 MB / 0.8338 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.6201, allocations: 63.39 kB / 0.8339 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.6203, allocations: 201.4 kB / 0.834 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.6204, allocations: 25.7 kB / 0.8341 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.6205, allocations: 135.5 kB / 0.8342 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.6205, allocations: 43.44 kB / 0.8342 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.6206, allocations: 49.59 kB / 0.8343 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6207, allocations: 330.8 kB / 0.8346 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.6209, allocations: 71.95 kB / 0.8347 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.6212, allocations: 131.6 kB / 0.8348 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.6216, allocations: 194.8 kB / 0.835 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6216, allocations: 4 kB / 0.835 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001406/0.623, allocations: 382.6 kB / 0.8354 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.623, allocations: 4 kB / 0.8354 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.623, allocations: 4 kB / 0.8354 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.6241, allocations: 165.7 kB / 0.8355 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6244, allocations: 35.91 kB / 0.8356 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.6283, allocations: 3.246 MB / 0.8387 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.6287, allocations: 35.77 kB / 0.8388 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.6287, allocations: 11.92 kB / 0.8388 GB, free: 13.62 MB / 0.67 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.0001352/0.6289, allocations: 133.7 kB / 0.8389 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.6289, allocations: 19.88 kB / 0.8389 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6302, allocations: 372.3 kB / 0.8393 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6303, allocations: 4 kB / 0.8393 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.6303, allocations: 0 / 0.8393 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6303, allocations: 4 kB / 0.8393 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.6306, allocations: 269.4 kB / 0.8395 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6306, allocations: 3.938 kB / 0.8395 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.6308, allocations: 27.92 kB / 0.8396 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/0.6316, allocations: 133.6 kB / 0.8397 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.6316, allocations: 15.98 kB / 0.8397 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.6351, allocations: 3.289 MB / 0.8429 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6351, allocations: 4.031 kB / 0.8429 GB, free: 8.992 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.6364, allocations: 439.2 kB / 0.8433 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6365, allocations: 105.1 kB / 0.8434 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.6366, allocations: 3.938 kB / 0.8434 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.6369, allocations: 15.98 kB / 0.8435 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.6369, allocations: 23.95 kB / 0.8435 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.637, allocations: 4 kB / 0.8435 GB, free: 8.375 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001696/0.6371, allocations: 152.8 kB / 0.8436 GB, free: 8.227 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6371, allocations: 0 / 0.8436 GB, free: 8.227 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004449/0.6376, allocations: 75.84 kB / 0.8437 GB, free: 8.152 MB / 0.67 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.001659/0.6393, allocations: 0.9713 MB / 0.8447 GB, free: 7.145 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.6404, allocations: 450.4 kB / 0.8451 GB, free: 6.684 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6404, allocations: 0 / 0.8451 GB, free: 6.684 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.6411, allocations: 365.1 kB / 0.8454 GB, free: 6.301 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.6415, allocations: 55.89 kB / 0.8455 GB, free: 6.246 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.6466, allocations: 2.508 MB / 0.8479 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.6469, allocations: 0.7245 MB / 0.8486 GB, free: 2.855 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.6471, allocations: 37.92 kB / 0.8487 GB, free: 2.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.6472, allocations: 55.41 kB / 0.8487 GB, free: 2.766 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/0.6472, allocations: 4 kB / 0.8487 GB, free: 2.762 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.6787, allocations: 7.469 MB / 0.856 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.16, allocations: 14.38 kB / 0.856 GB, free: 11.53 MB / 0.6856 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)