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.001574/0.001574, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001917/0.001917, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.555/1.555, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.044/1.044, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1623, allocations: 82.04 MB / 0.5939 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004993/0.1673, allocations: 1.941 MB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5666/0.7341, allocations: 153.2 MB / 0.7454 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.7343, allocations: 2.625 kB / 0.7454 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.7346, allocations: 23.61 kB / 0.7455 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.7349, allocations: 62 kB / 0.7455 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.7358, allocations: 235 kB / 0.7457 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.7361, allocations: 255.6 kB / 0.746 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.7363, allocations: 69.62 kB / 0.746 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.7382, allocations: 234.8 kB / 0.7463 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.7384, allocations: 88.23 kB / 0.7464 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.7385, allocations: 14.5 kB / 0.7464 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.7389, allocations: 187.9 kB / 0.7465 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.739, allocations: 44.3 kB / 0.7466 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.7391, allocations: 87.11 kB / 0.7467 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.7396, allocations: 289.9 kB / 0.747 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7396, allocations: 0 / 0.747 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7396, allocations: 4.562 kB / 0.747 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7396, allocations: 0 / 0.747 GB, free: 15.79 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.001024/0.7406, allocations: 0.507 MB / 0.7475 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7407, allocations: 9.594 kB / 0.7475 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/0.7408, allocations: 52.81 kB / 0.7475 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.7417, allocations: 79.23 kB / 0.7476 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.7419, allocations: 232.6 kB / 0.7478 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.742, allocations: 42.12 kB / 0.7478 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.7421, allocations: 14.72 kB / 0.7479 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.7427, allocations: 265.6 kB / 0.7481 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7427, allocations: 0 / 0.7481 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.7427, allocations: 6.969 kB / 0.7481 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7427, allocations: 3.938 kB / 0.7481 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.7432, allocations: 169.2 kB / 0.7483 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.745, allocations: 1.182 MB / 0.7494 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.7458, allocations: 207.9 kB / 0.7496 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.746, allocations: 76.11 kB / 0.7497 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.746, allocations: 5.375 kB / 0.7497 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.746, allocations: 35.94 kB / 0.7498 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.746, allocations: 0 / 0.7498 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002726/0.7488, allocations: 0.6194 MB / 0.7504 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.7488, allocations: 51.41 kB / 0.7504 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.7491, allocations: 206.6 kB / 0.7506 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.7491, allocations: 25.7 kB / 0.7506 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.7492, allocations: 143.5 kB / 0.7508 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.7493, allocations: 39.45 kB / 0.7508 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.7494, allocations: 49.59 kB / 0.7508 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7495, allocations: 334.6 kB / 0.7512 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.7497, allocations: 71.94 kB / 0.7512 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.75, allocations: 138.7 kB / 0.7514 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.7504, allocations: 193 kB / 0.7516 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7504, allocations: 8 kB / 0.7516 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001458/0.7518, allocations: 370.8 kB / 0.7519 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7519, allocations: 9.75 kB / 0.7519 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7519, allocations: 4 kB / 0.7519 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.753, allocations: 157.5 kB / 0.7521 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.7533, allocations: 43.91 kB / 0.7521 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.7571, allocations: 3.235 MB / 0.7553 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.7575, allocations: 39.72 kB / 0.7553 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7576, allocations: 4 kB / 0.7553 GB, free: 7.66 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.0001504/0.7577, allocations: 149.6 kB / 0.7555 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.7578, allocations: 11.91 kB / 0.7555 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7591, allocations: 368.2 kB / 0.7558 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7592, allocations: 8.125 kB / 0.7558 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.7592, allocations: 0 / 0.7558 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.7592, allocations: 7.969 kB / 0.7558 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.7595, allocations: 273.4 kB / 0.7561 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7595, allocations: 0 / 0.7561 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.7596, allocations: 27.92 kB / 0.7561 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008417/0.7605, allocations: 137.6 kB / 0.7563 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.7605, allocations: 4 kB / 0.7563 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.764, allocations: 3.302 MB / 0.7595 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7641, allocations: 0 / 0.7595 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.7654, allocations: 435.1 kB / 0.7599 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7655, allocations: 108.8 kB / 0.76 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.7655, allocations: 7.938 kB / 0.76 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.7658, allocations: 16.77 kB / 0.76 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.7659, allocations: 23.97 kB / 0.7601 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.7659, allocations: 4 kB / 0.7601 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001716/0.7661, allocations: 154.3 kB / 0.7602 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7661, allocations: 0 / 0.7602 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000456/0.7666, allocations: 71.94 kB / 0.7603 GB, free: 2.188 MB / 0.5762 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.001616/0.7682, allocations: 0.9713 MB / 0.7612 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.7693, allocations: 454.1 kB / 0.7617 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7693, allocations: 384 / 0.7617 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.77, allocations: 357.2 kB / 0.762 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.7704, allocations: 70.05 kB / 0.7621 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.7757, allocations: 2.557 MB / 0.7646 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.776, allocations: 0.7322 MB / 0.7653 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.7762, allocations: 37.98 kB / 0.7653 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.7764, allocations: 59.41 kB / 0.7654 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of SimCode: time 2.234e-06/0.7764, allocations: 0 / 0.7654 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.7994, allocations: 7.064 MB / 0.7723 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.7996, allocations: 252.6 kB / 0.7725 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.836, allocations: 3.625 kB / 0.7725 GB, free: 5.73 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)