Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001194/0.001194, allocations: 107.2 kB / 16.27 MB, free: 6.395 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.001312/0.001312, allocations: 189.6 kB / 17.2 MB, free: 5.938 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8213/0.8213, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.84 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3913, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002816/0.3942, allocations: 1.489 MB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.3945, allocations: 128.6 kB / 0.5689 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.3946, allocations: 2.031 kB / 0.5689 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.3946, allocations: 4.594 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.3947, allocations: 8.172 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.395, allocations: 67.38 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3951, allocations: 57.08 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3953, allocations: 23.05 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.3953, allocations: 23.94 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.3954, allocations: 27.22 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3954, allocations: 5.219 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.3955, allocations: 6.062 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3955, allocations: 10.78 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.3955, allocations: 29.44 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3957, allocations: 53.27 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3957, allocations: 4.25 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3957, allocations: 5.656 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3957, allocations: 0 / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004998/0.3962, allocations: 367.7 kB / 0.5695 GB, free: 31.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3963, allocations: 10.47 kB / 0.5695 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.3963, allocations: 37.53 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3964, allocations: 9.844 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3965, allocations: 179.1 kB / 0.5697 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.3965, allocations: 31.45 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3966, allocations: 8.781 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3968, allocations: 74.09 kB / 0.5699 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3968, allocations: 0.5 kB / 0.5699 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3968, allocations: 0.8906 kB / 0.5699 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3968, allocations: 2.906 kB / 0.5699 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.397, allocations: 45.73 kB / 0.5699 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.3976, allocations: 315.9 kB / 0.5702 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3978, allocations: 53.27 kB / 0.5703 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3979, allocations: 30.77 kB / 0.5703 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3979, allocations: 0.9688 kB / 0.5703 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3979, allocations: 37.64 kB / 0.5703 GB, free: 30.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3979, allocations: 0 / 0.5703 GB, free: 30.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.00039/0.3983, allocations: 103.4 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3984, allocations: 54.84 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.3985, allocations: 106.8 kB / 0.5706 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3985, allocations: 27.2 kB / 0.5706 GB, free: 30.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.3985, allocations: 92.23 kB / 0.5707 GB, free: 30 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.3985, allocations: 11.75 kB / 0.5707 GB, free: 30 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3986, allocations: 21.62 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.3987, allocations: 321.9 kB / 0.571 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.3988, allocations: 22 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/0.3989, allocations: 37.25 kB / 0.5711 GB, free: 29.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3991, allocations: 58.11 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3991, allocations: 0 / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000221/0.3993, allocations: 88.89 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3993, allocations: 5.812 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3993, allocations: 0.6094 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3993, allocations: 2.094 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.3995, allocations: 17.47 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3995, allocations: 0.5312 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3995, allocations: 8.109 kB / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3995, allocations: 1.906 kB / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.3996, allocations: 117.5 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3996, allocations: 10.81 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.3997, allocations: 14.61 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3997, allocations: 1.156 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3997, allocations: 2.906 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3997, allocations: 0.6094 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3998, allocations: 178.6 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3998, allocations: 2.438 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.3999, allocations: 10.5 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3999, allocations: 1.219 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3999, allocations: 0.6562 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3999, allocations: 0.8125 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3999, allocations: 1.156 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.4002, allocations: 181.7 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.4002, allocations: 83.67 kB / 0.5718 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.4002, allocations: 0.8906 kB / 0.5718 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4004, allocations: 11.62 kB / 0.5718 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.4004, allocations: 12.45 kB / 0.5719 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4004, allocations: 2.047 kB / 0.5719 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.4005, allocations: 85.45 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4005, allocations: 0.875 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.4007, allocations: 11.66 kB / 0.572 GB, free: 28.87 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/0.4011, allocations: 0.7093 MB / 0.5726 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4014, allocations: 50.66 kB / 0.5727 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4014, allocations: 2.844 kB / 0.5727 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.4015, allocations: 28.73 kB / 0.5727 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.4018, allocations: 8.672 kB / 0.5727 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4031, allocations: 1.332 MB / 0.574 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4032, allocations: 0.6842 MB / 0.5747 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.239e-05/0.4033, allocations: 4.641 kB / 0.5747 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.4033, allocations: 18.64 kB / 0.5747 GB, free: 26.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4033, allocations: 3.031 kB / 0.5747 GB, free: 26.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.4211, allocations: 1.742 MB / 0.5764 GB, free: 25.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.461, allocations: 8.938 kB / 0.5764 GB, free: 25.9 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)