Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001075/0.001075, allocations: 99.28 kB / 16.02 MB, free: 80 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.001523/0.001524, allocations: 186.6 kB / 16.92 MB, free: 6.75 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 495.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 77.53 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001845/0.1569, allocations: 1.376 MB / 0.5614 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.471/0.6279, allocations: 145.8 MB / 0.7038 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.6281, allocations: 0 / 0.7038 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.6283, allocations: 15.86 kB / 0.7038 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.6286, allocations: 47.7 kB / 0.7039 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.6293, allocations: 165.2 kB / 0.704 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.6296, allocations: 155.5 kB / 0.7042 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.6297, allocations: 27.5 kB / 0.7042 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.6323, allocations: 169.1 kB / 0.7044 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.6325, allocations: 59.73 kB / 0.7044 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.6325, allocations: 4 kB / 0.7044 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.633, allocations: 163.7 kB / 0.7046 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.6331, allocations: 23.91 kB / 0.7046 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.6332, allocations: 65.44 kB / 0.7047 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.6337, allocations: 199.4 kB / 0.7048 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.6337, allocations: 4 kB / 0.7048 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6337, allocations: 0 / 0.7048 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6338, allocations: 0 / 0.7048 GB, free: 2.5 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001122/0.6349, allocations: 459.8 kB / 0.7053 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.635, allocations: 8.031 kB / 0.7053 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.571e-05/0.635, allocations: 46.73 kB / 0.7053 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008505/0.6359, allocations: 56.78 kB / 0.7054 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.6362, allocations: 208 kB / 0.7056 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.6363, allocations: 8 kB / 0.7056 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.6363, allocations: 8 kB / 0.7056 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.637, allocations: 189.8 kB / 0.7058 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.637, allocations: 0 / 0.7058 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.637, allocations: 4 kB / 0.7058 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.6371, allocations: 9.625 kB / 0.7058 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.6378, allocations: 163.8 kB / 0.706 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.6394, allocations: 0.8293 MB / 0.7068 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.64, allocations: 146.4 kB / 0.7069 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.6404, allocations: 88.8 kB / 0.707 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.6404, allocations: 0 / 0.707 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.6405, allocations: 38.56 kB / 0.707 GB, free: 56 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.6405, allocations: 0 / 0.707 GB, free: 56 kB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.002619/0.6431, allocations: 491.9 kB / 0.7075 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.6432, allocations: 55.41 kB / 0.7075 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.6433, allocations: 152.6 kB / 0.7077 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.6434, allocations: 29.7 kB / 0.7077 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.6435, allocations: 116.2 kB / 0.7078 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.6435, allocations: 23.8 kB / 0.7079 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.6436, allocations: 21.64 kB / 0.7079 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6437, allocations: 326.8 kB / 0.7082 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.6441, allocations: 75.94 kB / 0.7083 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.6445, allocations: 120.2 kB / 0.7084 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.6452, allocations: 196.4 kB / 0.7086 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6452, allocations: 7.938 kB / 0.7086 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001396/0.6467, allocations: 298.1 kB / 0.7089 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.6467, allocations: 7.938 kB / 0.7089 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6467, allocations: 0 / 0.7089 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007767/0.6475, allocations: 92.83 kB / 0.7089 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.6478, allocations: 39.95 kB / 0.709 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.6507, allocations: 1.546 MB / 0.7105 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.651, allocations: 39.81 kB / 0.7105 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.651, allocations: 4 kB / 0.7105 GB, free: 12.21 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.6512, allocations: 125.7 kB / 0.7107 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.6513, allocations: 7.906 kB / 0.7107 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.6528, allocations: 338.9 kB / 0.711 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6528, allocations: 0 / 0.711 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6528, allocations: 0 / 0.711 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6528, allocations: 7.922 kB / 0.711 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.6532, allocations: 241.4 kB / 0.7112 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6532, allocations: 0.8125 kB / 0.7112 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.6535, allocations: 39.97 kB / 0.7113 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.6542, allocations: 84.77 kB / 0.7113 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.6542, allocations: 3.984 kB / 0.7114 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.6567, allocations: 1.575 MB / 0.7129 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6567, allocations: 3.938 kB / 0.7129 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.6582, allocations: 408.3 kB / 0.7133 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6584, allocations: 104.9 kB / 0.7134 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.6584, allocations: 4 kB / 0.7134 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.6587, allocations: 19.98 kB / 0.7134 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.6588, allocations: 19.91 kB / 0.7134 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.6588, allocations: 4 kB / 0.7134 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001113/0.659, allocations: 118.5 kB / 0.7135 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.659, allocations: 4 kB / 0.7135 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004842/0.6595, allocations: 40 kB / 0.7136 GB, free: 8.852 MB / 0.5294 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.6612, allocations: 0.951 MB / 0.7145 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009913/0.6622, allocations: 323.2 kB / 0.7148 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6622, allocations: 0 / 0.7148 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.6628, allocations: 242.6 kB / 0.7151 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.6632, allocations: 25.81 kB / 0.7151 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.669, allocations: 2.15 MB / 0.7172 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.6696, allocations: 0.7127 MB / 0.7179 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003166/0.6699, allocations: 21.11 kB / 0.7179 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.67, allocations: 39.41 kB / 0.7179 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/0.67, allocations: 0 / 0.7179 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.6956, allocations: 4.202 MB / 0.722 GB, free: 220 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/0.6959, allocations: 244 kB / 0.7223 GB, free: 15.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.613, allocations: 0 / 0.7223 GB, free: 15.95 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)