Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001425/0.001425, allocations: 101.7 kB / 16.27 MB, free: 5.984 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.001635/0.001635, allocations: 188.4 kB / 17.19 MB, free: 5.613 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7462/0.7462, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3719, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00273/0.3746, allocations: 1.652 MB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.3754, allocations: 400.2 kB / 0.5693 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.3755, allocations: 1.094 kB / 0.5693 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.3756, allocations: 11.78 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.3757, allocations: 21.95 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.3761, allocations: 122.9 kB / 0.5694 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3763, allocations: 109.4 kB / 0.5695 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3764, allocations: 38.08 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.011e-05/0.3765, allocations: 48.56 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.3766, allocations: 36.34 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3766, allocations: 11.97 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3768, allocations: 62.73 kB / 0.5697 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.3768, allocations: 20.02 kB / 0.5697 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.3769, allocations: 51.78 kB / 0.5698 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.3771, allocations: 124.6 kB / 0.5699 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3771, allocations: 1.281 kB / 0.5699 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3771, allocations: 0 / 0.5699 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3771, allocations: 0 / 0.5699 GB, free: 31.02 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000574/0.3777, allocations: 423.8 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3777, allocations: 11.81 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.3778, allocations: 39.17 kB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.378, allocations: 33.58 kB / 0.5704 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3782, allocations: 195.6 kB / 0.5706 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.3783, allocations: 35.53 kB / 0.5706 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3783, allocations: 7.219 kB / 0.5706 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.3786, allocations: 106 kB / 0.5707 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3786, allocations: 1.344 kB / 0.5707 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.3787, allocations: 9.375 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3787, allocations: 2.281 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.379, allocations: 87.27 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.3796, allocations: 377.8 kB / 0.5712 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.3801, allocations: 136.3 kB / 0.5713 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3803, allocations: 43.36 kB / 0.5713 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3803, allocations: 2.469 kB / 0.5713 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3803, allocations: 37.09 kB / 0.5714 GB, free: 29.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3803, allocations: 0 / 0.5714 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003976/0.3807, allocations: 139.4 kB / 0.5715 GB, free: 29.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.3808, allocations: 57.23 kB / 0.5716 GB, free: 29.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.3809, allocations: 134.8 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3809, allocations: 26.48 kB / 0.5717 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.3809, allocations: 107 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.3809, allocations: 22.5 kB / 0.5718 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.381, allocations: 22.44 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.3811, allocations: 320.2 kB / 0.5722 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3812, allocations: 29.2 kB / 0.5722 GB, free: 29.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3813, allocations: 46 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.3816, allocations: 80.05 kB / 0.5723 GB, free: 29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3816, allocations: 0.9062 kB / 0.5723 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002871/0.3819, allocations: 115.2 kB / 0.5724 GB, free: 28.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3819, allocations: 7.562 kB / 0.5724 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3819, allocations: 1.438 kB / 0.5724 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3819, allocations: 3.938 kB / 0.5724 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3821, allocations: 25.39 kB / 0.5725 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3821, allocations: 2.281 kB / 0.5725 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.3822, allocations: 8.438 kB / 0.5725 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3822, allocations: 2.547 kB / 0.5725 GB, free: 28.93 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 (8): * Single equations (assignments): 8 * 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 9.421e-05/0.3823, allocations: 119.5 kB / 0.5726 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3823, allocations: 9.938 kB / 0.5726 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.3824, allocations: 11.94 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3824, allocations: 5.219 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3824, allocations: 3.938 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3824, allocations: 2.047 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.3827, allocations: 202.2 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3827, allocations: 2.484 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3828, allocations: 16 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3828, allocations: 4.453 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3828, allocations: 1.375 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3829, allocations: 3.938 kB / 0.5728 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3829, allocations: 2.484 kB / 0.5728 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3832, allocations: 207 kB / 0.573 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.3832, allocations: 88.38 kB / 0.5731 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3832, allocations: 1.406 kB / 0.5731 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3834, allocations: 20.81 kB / 0.5731 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3834, allocations: 4.906 kB / 0.5732 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3835, allocations: 2.641 kB / 0.5732 GB, free: 28.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.659e-05/0.3835, allocations: 104.2 kB / 0.5733 GB, free: 28.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3835, allocations: 0.5312 kB / 0.5733 GB, free: 28.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000237/0.3838, allocations: 21.56 kB / 0.5733 GB, free: 28.22 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 (7): * Single equations (assignments): 7 * 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.0004702/0.3843, allocations: 0.7331 MB / 0.574 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3845, allocations: 75.64 kB / 0.5741 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3845, allocations: 0.9062 kB / 0.5741 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3847, allocations: 37.86 kB / 0.5741 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.385, allocations: 37.45 kB / 0.5741 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3865, allocations: 1.543 MB / 0.5756 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3866, allocations: 0.6938 MB / 0.5763 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.3867, allocations: 12.7 kB / 0.5763 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.3868, allocations: 22.27 kB / 0.5764 GB, free: 25.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3868, allocations: 0.5312 kB / 0.5764 GB, free: 25.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.4048, allocations: 2.693 MB / 0.579 GB, free: 25.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.618, allocations: 8.109 kB / 0.579 GB, free: 25.1 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)