Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_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.0007779/0.0007777, allocations: 92.23 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.0008862/0.0008862, allocations: 174.2 kB / 16.58 MB, free: 6.848 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.186/1.186, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.596/0.596, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002567, allocations: 12 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 77.12 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001637/0.1227, allocations: 1.566 MB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3445/0.4673, allocations: 141.2 MB / 0.6964 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.4674, allocations: 0 / 0.6964 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.4676, allocations: 19.8 kB / 0.6964 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.4678, allocations: 67.55 kB / 0.6964 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.4682, allocations: 211.4 kB / 0.6966 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.4685, allocations: 235.1 kB / 0.6969 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4686, allocations: 64.72 kB / 0.6969 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.4689, allocations: 175.5 kB / 0.6971 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4691, allocations: 83.61 kB / 0.6972 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.4691, allocations: 4 kB / 0.6972 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.4694, allocations: 175.7 kB / 0.6973 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.4694, allocations: 27.91 kB / 0.6974 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.4695, allocations: 57.58 kB / 0.6974 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.4697, allocations: 199.5 kB / 0.6976 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4697, allocations: 3.938 kB / 0.6976 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4697, allocations: 0 / 0.6976 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.4697, allocations: 0 / 0.6976 GB, free: 10.69 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006946/0.4704, allocations: 0.4919 MB / 0.6981 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.4704, allocations: 12.03 kB / 0.6981 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.4705, allocations: 50.55 kB / 0.6982 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.4712, allocations: 83.69 kB / 0.6982 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.4714, allocations: 230.6 kB / 0.6985 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.4715, allocations: 38.03 kB / 0.6985 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.4715, allocations: 16 kB / 0.6985 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.4719, allocations: 263.3 kB / 0.6988 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.472, allocations: 4 kB / 0.6988 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.472, allocations: 11.94 kB / 0.6988 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.472, allocations: 4 kB / 0.6988 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.4724, allocations: 179.8 kB / 0.699 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.4737, allocations: 1.192 MB / 0.7001 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.4744, allocations: 218.6 kB / 0.7003 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4745, allocations: 72.81 kB / 0.7004 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4746, allocations: 4 kB / 0.7004 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.4746, allocations: 30.56 kB / 0.7004 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.4746, allocations: 0 / 0.7004 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.002114/0.4767, allocations: 0.6415 MB / 0.7011 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4768, allocations: 59.36 kB / 0.7011 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.477, allocations: 219.7 kB / 0.7013 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.477, allocations: 25.7 kB / 0.7013 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.4771, allocations: 136 kB / 0.7015 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.4771, allocations: 39.45 kB / 0.7015 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.4771, allocations: 4 kB / 0.7015 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.4772, allocations: 330.8 kB / 0.7018 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.4774, allocations: 75.95 kB / 0.7019 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.4776, allocations: 142.4 kB / 0.702 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4778, allocations: 88 kB / 0.7021 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4779, allocations: 0 / 0.7021 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001163/0.479, allocations: 389 kB / 0.7025 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.479, allocations: 4 kB / 0.7025 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4791, allocations: 4 kB / 0.7025 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008508/0.4799, allocations: 165.8 kB / 0.7027 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4801, allocations: 35.97 kB / 0.7027 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.4832, allocations: 3.034 MB / 0.7057 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.4835, allocations: 43.75 kB / 0.7057 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.4835, allocations: 4 kB / 0.7057 GB, free: 1.785 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.4837, allocations: 146.4 kB / 0.7058 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.4837, allocations: 15.81 kB / 0.7059 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.4848, allocations: 378.2 kB / 0.7062 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.4848, allocations: 8.125 kB / 0.7062 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.4848, allocations: 0 / 0.7062 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4848, allocations: 7.969 kB / 0.7062 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.4851, allocations: 273.4 kB / 0.7065 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4851, allocations: 4 kB / 0.7065 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4853, allocations: 27.94 kB / 0.7065 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/0.4861, allocations: 169.5 kB / 0.7067 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4861, allocations: 4 kB / 0.7067 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.489, allocations: 3.066 MB / 0.7097 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.489, allocations: 4.031 kB / 0.7097 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.4901, allocations: 442.8 kB / 0.7101 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4902, allocations: 120.8 kB / 0.7102 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.4902, allocations: 4.078 kB / 0.7102 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4905, allocations: 23.98 kB / 0.7103 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.4905, allocations: 23.97 kB / 0.7103 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4906, allocations: 4 kB / 0.7103 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001484/0.4907, allocations: 155.9 kB / 0.7104 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4907, allocations: 0 / 0.7104 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003666/0.4911, allocations: 75.94 kB / 0.7105 GB, free: 12.48 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/0.4925, allocations: 0.983 MB / 0.7115 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008524/0.4933, allocations: 454 kB / 0.7119 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4933, allocations: 0 / 0.7119 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.4939, allocations: 374.9 kB / 0.7123 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4943, allocations: 54.58 kB / 0.7123 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.4969, allocations: 1.359 MB / 0.7136 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4972, allocations: 0.7324 MB / 0.7143 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.4974, allocations: 37.97 kB / 0.7144 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.4975, allocations: 51.41 kB / 0.7144 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.4975, allocations: 4 kB / 0.7144 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.5149, allocations: 6.659 MB / 0.7209 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.5151, allocations: 220.7 kB / 0.7212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.158, allocations: 0 / 0.7212 GB, free: 1.641 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: