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.0007035/0.0007035, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007404/0.0007404, allocations: 172.3 kB / 16.58 MB, free: 5.941 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.187/1.187, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.61/0.61, allocations: 113.7 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002636, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.0015/0.1129, allocations: 1.356 MB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3509/0.4638, allocations: 136 MB / 0.691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.4639, allocations: 0 / 0.691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.4641, allocations: 15.86 kB / 0.691 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.4643, allocations: 39.72 kB / 0.691 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.4647, allocations: 165 kB / 0.6912 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.4649, allocations: 143.5 kB / 0.6913 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4651, allocations: 25.92 kB / 0.6914 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.4654, allocations: 139.7 kB / 0.6915 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.4655, allocations: 51.77 kB / 0.6915 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4655, allocations: 7.984 kB / 0.6915 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.4658, allocations: 152.5 kB / 0.6917 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.4659, allocations: 15.92 kB / 0.6917 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.4659, allocations: 41.64 kB / 0.6917 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.4661, allocations: 146.1 kB / 0.6919 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4661, allocations: 0 / 0.6919 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4661, allocations: 4 kB / 0.6919 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.4661, allocations: 0 / 0.6919 GB, free: 0.625 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.0007266/0.4669, allocations: 463.5 kB / 0.6923 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4669, allocations: 15.97 kB / 0.6923 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.467, allocations: 39.42 kB / 0.6924 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.4675, allocations: 51.84 kB / 0.6924 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4677, allocations: 212.6 kB / 0.6926 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4678, allocations: 8 kB / 0.6926 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4678, allocations: 4 kB / 0.6926 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.4682, allocations: 197.8 kB / 0.6928 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4682, allocations: 0 / 0.6928 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4682, allocations: 4 kB / 0.6928 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4682, allocations: 0 / 0.6928 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.4687, allocations: 174.3 kB / 0.693 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.4697, allocations: 0.8255 MB / 0.6938 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.4701, allocations: 138.5 kB / 0.6939 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.4703, allocations: 92.8 kB / 0.694 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4703, allocations: 0 / 0.694 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4704, allocations: 38.5 kB / 0.6941 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4704, allocations: 0 / 0.6941 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001609/0.472, allocations: 491.9 kB / 0.6945 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.472, allocations: 55.41 kB / 0.6946 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4722, allocations: 158.2 kB / 0.6947 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4722, allocations: 29.64 kB / 0.6948 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.4723, allocations: 112.4 kB / 0.6949 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.4723, allocations: 27.59 kB / 0.6949 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.4723, allocations: 0 / 0.6949 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4724, allocations: 322.8 kB / 0.6952 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.4726, allocations: 79.94 kB / 0.6953 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.4729, allocations: 116.2 kB / 0.6954 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.4731, allocations: 83.94 kB / 0.6955 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4731, allocations: 0 / 0.6955 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008868/0.474, allocations: 302.4 kB / 0.6958 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4741, allocations: 11.95 kB / 0.6958 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4741, allocations: 0 / 0.6958 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004881/0.4746, allocations: 88.89 kB / 0.6959 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.4748, allocations: 39.89 kB / 0.6959 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4766, allocations: 1.545 MB / 0.6974 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4768, allocations: 35.89 kB / 0.6974 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4768, allocations: 8.859 kB / 0.6975 GB, free: 10.48 MB / 0.5137 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.0001142/0.4769, allocations: 118.5 kB / 0.6976 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.477, allocations: 19.8 kB / 0.6976 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009517/0.478, allocations: 334.9 kB / 0.6979 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.478, allocations: 0 / 0.6979 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.478, allocations: 0 / 0.6979 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.478, allocations: 0 / 0.6979 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.4783, allocations: 245.4 kB / 0.6981 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4783, allocations: 7.938 kB / 0.6981 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4785, allocations: 39.95 kB / 0.6982 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.4789, allocations: 88.7 kB / 0.6983 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4789, allocations: 0 / 0.6983 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.4806, allocations: 1.579 MB / 0.6998 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4806, allocations: 0 / 0.6998 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.4815, allocations: 400.3 kB / 0.7002 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.4816, allocations: 112.8 kB / 0.7003 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4816, allocations: 4 kB / 0.7003 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.4818, allocations: 23.98 kB / 0.7003 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.4819, allocations: 15.92 kB / 0.7003 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.4819, allocations: 4 kB / 0.7003 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.482, allocations: 115.2 kB / 0.7005 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.482, allocations: 0 / 0.7005 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003091/0.4823, allocations: 40 kB / 0.7005 GB, free: 7.129 MB / 0.5137 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.001208/0.4835, allocations: 0.9479 MB / 0.7014 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007617/0.4843, allocations: 331.1 kB / 0.7017 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4843, allocations: 4 kB / 0.7017 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.4848, allocations: 238.6 kB / 0.702 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4851, allocations: 23.27 kB / 0.702 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.4873, allocations: 1.064 MB / 0.703 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4876, allocations: 0.7127 MB / 0.7037 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.4877, allocations: 20.88 kB / 0.7037 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.4878, allocations: 31.42 kB / 0.7038 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4878, allocations: 4 kB / 0.7038 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.5031, allocations: 4.227 MB / 0.7079 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.5033, allocations: 222.9 kB / 0.7081 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.065, allocations: 0 / 0.7081 GB, free: 15.39 MB / 0.5294 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: