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.001375/0.001375, allocations: 105.7 kB / 15.98 MB, free: 6.355 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.001402/0.001403, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 71.84 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.45, allocations: 76.17 MB / 0.556 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002629/0.4527, allocations: 1.714 MB / 0.5577 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1848/0.6375, allocations: 147.5 MB / 0.7018 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.6377, allocations: 0 / 0.7018 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.638, allocations: 19.86 kB / 0.7018 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.6384, allocations: 55.62 kB / 0.7018 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.639, allocations: 167.5 kB / 0.702 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.6393, allocations: 163.5 kB / 0.7022 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.6395, allocations: 23.38 kB / 0.7022 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.6424, allocations: 195 kB / 0.7024 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.6426, allocations: 63.75 kB / 0.7024 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.6426, allocations: 8 kB / 0.7024 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.6431, allocations: 167.7 kB / 0.7026 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.6432, allocations: 27.91 kB / 0.7026 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.6433, allocations: 55.72 kB / 0.7027 GB, free: 14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.6439, allocations: 199.4 kB / 0.7029 GB, free: 13.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6439, allocations: 3.938 kB / 0.7029 GB, free: 13.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.998e-06/0.644, allocations: 0 / 0.7029 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.644, allocations: 0 / 0.7029 GB, free: 13.8 MB / 0.545 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.001213/0.6452, allocations: 471 kB / 0.7033 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.6453, allocations: 8.031 kB / 0.7033 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.699e-05/0.6454, allocations: 42.73 kB / 0.7034 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007218/0.6461, allocations: 64.44 kB / 0.7034 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.6464, allocations: 194.9 kB / 0.7036 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6464, allocations: 4 kB / 0.7036 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.6464, allocations: 11.98 kB / 0.7036 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.6469, allocations: 182.6 kB / 0.7038 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.647, allocations: 0 / 0.7038 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.647, allocations: 4 kB / 0.7038 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.647, allocations: 4 kB / 0.7038 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.6475, allocations: 151.7 kB / 0.704 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.6488, allocations: 0.8243 MB / 0.7048 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.6492, allocations: 138.4 kB / 0.7049 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.6494, allocations: 76.78 kB / 0.705 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.6495, allocations: 8.141 kB / 0.705 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.6495, allocations: 38.56 kB / 0.705 GB, free: 11.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 3.176e-06/0.6495, allocations: 0 / 0.705 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001929/0.6514, allocations: 455.1 kB / 0.7054 GB, free: 10.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.6515, allocations: 59.33 kB / 0.7055 GB, free: 10.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.6517, allocations: 148.7 kB / 0.7056 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.6517, allocations: 29.7 kB / 0.7057 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.6518, allocations: 108.2 kB / 0.7058 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.6518, allocations: 35.55 kB / 0.7058 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.6519, allocations: 25.7 kB / 0.7058 GB, free: 10.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6521, allocations: 322.8 kB / 0.7061 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.6523, allocations: 67.94 kB / 0.7062 GB, free: 10.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.6526, allocations: 108.2 kB / 0.7063 GB, free: 9.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.6531, allocations: 176.1 kB / 0.7065 GB, free: 9.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6531, allocations: 7.938 kB / 0.7065 GB, free: 9.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00103/0.6541, allocations: 274.1 kB / 0.7067 GB, free: 9.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6542, allocations: 9.781 kB / 0.7068 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6542, allocations: 11.98 kB / 0.7068 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.6548, allocations: 88.7 kB / 0.7068 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.655, allocations: 27.97 kB / 0.7069 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.6577, allocations: 1.658 MB / 0.7085 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.6579, allocations: 23.83 kB / 0.7085 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.658, allocations: 11.92 kB / 0.7085 GB, free: 7.531 MB / 0.545 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.0001628/0.6581, allocations: 125.8 kB / 0.7086 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.6582, allocations: 7.906 kB / 0.7087 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.6594, allocations: 314.9 kB / 0.709 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6594, allocations: 4 kB / 0.709 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.6594, allocations: 0 / 0.709 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.6594, allocations: 0 / 0.709 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.6597, allocations: 245.3 kB / 0.7092 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6598, allocations: 0 / 0.7092 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.66, allocations: 27.97 kB / 0.7092 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004688/0.6605, allocations: 80.77 kB / 0.7093 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.6605, allocations: 3.938 kB / 0.7093 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.6625, allocations: 1.681 MB / 0.7109 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6625, allocations: 0 / 0.7109 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.6636, allocations: 386.9 kB / 0.7113 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6637, allocations: 104.9 kB / 0.7114 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.6637, allocations: 4 kB / 0.7114 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.664, allocations: 27.84 kB / 0.7114 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.6641, allocations: 7.984 kB / 0.7114 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.6641, allocations: 12 kB / 0.7115 GB, free: 4.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001021/0.6642, allocations: 112.5 kB / 0.7116 GB, free: 4.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6642, allocations: 0 / 0.7116 GB, free: 4.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003916/0.6646, allocations: 47.91 kB / 0.7116 GB, free: 4.117 MB / 0.545 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.00145/0.6661, allocations: 0.9199 MB / 0.7125 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009191/0.667, allocations: 310.7 kB / 0.7128 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.667, allocations: 0 / 0.7128 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.6675, allocations: 238.4 kB / 0.713 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.6679, allocations: 35.36 kB / 0.7131 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.6718, allocations: 2.079 MB / 0.7151 GB, free: 400 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.6722, allocations: 0.7085 MB / 0.7158 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.6724, allocations: 24.88 kB / 0.7158 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.6725, allocations: 39.36 kB / 0.7159 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.6725, allocations: 0 / 0.7159 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.6928, allocations: 4.477 MB / 0.7202 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/0.6932, allocations: 241.9 kB / 0.7205 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.629, allocations: 0 / 0.7205 GB, free: 11.09 MB / 0.5606 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)