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.001675/0.001675, allocations: 96.73 kB / 15.69 MB, free: 480 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.002786/0.002785, allocations: 175.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.428/2.428, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.075/1.075, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 11.98 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3001, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002389/0.3025, allocations: 1.329 MB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.9511/1.254, allocations: 126.5 MB / 0.6815 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/1.254, allocations: 0 / 0.6815 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002489/1.254, allocations: 23.92 kB / 0.6815 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003243/1.255, allocations: 51.84 kB / 0.6816 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/1.255, allocations: 151.6 kB / 0.6817 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000242/1.256, allocations: 103.8 kB / 0.6818 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/1.256, allocations: 29.89 kB / 0.6819 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/1.256, allocations: 107.7 kB / 0.682 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/1.256, allocations: 52.66 kB / 0.682 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/1.257, allocations: 4 kB / 0.682 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/1.257, allocations: 171.8 kB / 0.6822 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/1.257, allocations: 19.92 kB / 0.6822 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/1.257, allocations: 41.64 kB / 0.6822 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/1.257, allocations: 140.4 kB / 0.6824 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/1.257, allocations: 0 / 0.6824 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.338e-06/1.257, allocations: 0 / 0.6824 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.257, allocations: 3.938 kB / 0.6824 GB, free: 9.469 MB / 0.4981 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.001112/1.259, allocations: 466.2 kB / 0.6828 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/1.259, allocations: 8.031 kB / 0.6828 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.613e-05/1.259, allocations: 42.55 kB / 0.6829 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/1.26, allocations: 55.84 kB / 0.6829 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/1.26, allocations: 202.8 kB / 0.6831 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/1.26, allocations: 4 kB / 0.6831 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/1.26, allocations: 8 kB / 0.6831 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/1.261, allocations: 192.8 kB / 0.6833 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.261, allocations: 7.938 kB / 0.6833 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/1.261, allocations: 0 / 0.6833 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.261, allocations: 7.984 kB / 0.6833 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/1.261, allocations: 175.8 kB / 0.6835 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/1.263, allocations: 0.8177 MB / 0.6843 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/1.264, allocations: 138.5 kB / 0.6844 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/1.264, allocations: 7.938 kB / 0.6844 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/1.264, allocations: 34.72 kB / 0.6845 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.424e-06/1.264, allocations: 0 / 0.6845 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002665/1.267, allocations: 491.9 kB / 0.6849 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/1.267, allocations: 55.36 kB / 0.685 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/1.267, allocations: 156 kB / 0.6851 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/1.267, allocations: 25.7 kB / 0.6852 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.267, allocations: 108.2 kB / 0.6853 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/1.267, allocations: 31.64 kB / 0.6853 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/1.267, allocations: 4 kB / 0.6853 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.268, allocations: 322.8 kB / 0.6856 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/1.268, allocations: 75.94 kB / 0.6857 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/1.268, allocations: 116.2 kB / 0.6858 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/1.269, allocations: 84.27 kB / 0.6859 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.269, allocations: 0 / 0.6859 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001447/1.27, allocations: 306.1 kB / 0.6862 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.27, allocations: 16.08 kB / 0.6862 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.27, allocations: 2.438 kB / 0.6862 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008364/1.271, allocations: 84.75 kB / 0.6863 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.272, allocations: 39.97 kB / 0.6863 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/1.275, allocations: 1.561 MB / 0.6878 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/1.275, allocations: 31.84 kB / 0.6879 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.275, allocations: 8 kB / 0.6879 GB, free: 3.414 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002385/1.276, allocations: 121.9 kB / 0.688 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/1.276, allocations: 11.86 kB / 0.688 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/1.277, allocations: 334.8 kB / 0.6883 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.277, allocations: 4 kB / 0.6883 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.277, allocations: 0 / 0.6883 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.277, allocations: 4 kB / 0.6883 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/1.278, allocations: 250.2 kB / 0.6886 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/1.278, allocations: 0 / 0.6886 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/1.278, allocations: 43.89 kB / 0.6886 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/1.279, allocations: 84.77 kB / 0.6887 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/1.279, allocations: 4 kB / 0.6887 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/1.282, allocations: 1.587 MB / 0.6902 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.282, allocations: 0 / 0.6902 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/1.284, allocations: 401 kB / 0.6906 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/1.284, allocations: 108.8 kB / 0.6907 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/1.284, allocations: 4 kB / 0.6907 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/1.285, allocations: 19.97 kB / 0.6907 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.285, allocations: 23.94 kB / 0.6908 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.285, allocations: 3.984 kB / 0.6908 GB, free: 200 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001329/1.285, allocations: 114.7 kB / 0.6909 GB, free: 88 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.285, allocations: 0 / 0.6909 GB, free: 88 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000568/1.286, allocations: 40 kB / 0.6909 GB, free: 48 kB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/1.288, allocations: 0.9399 MB / 0.6918 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.289, allocations: 335.1 kB / 0.6922 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.289, allocations: 4 kB / 0.6922 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/1.29, allocations: 238.5 kB / 0.6924 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/1.29, allocations: 26.33 kB / 0.6924 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/1.294, allocations: 1.668 MB / 0.694 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/1.295, allocations: 0.7088 MB / 0.6947 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002151/1.295, allocations: 24.88 kB / 0.6948 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.295, allocations: 39.41 kB / 0.6948 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.844e-06/1.295, allocations: 4 kB / 0.6948 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/1.498, allocations: 4.193 MB / 0.6989 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/1.499, allocations: 223.9 kB / 0.6991 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/4.967, allocations: 3.5 kB / 0.6991 GB, free: 7.715 MB / 0.5137 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/linux/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) Environment - environmentSimulation: