Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.008172/0.008172, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001692/0.001693, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 286.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9197/0.9197, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 95.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4781, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002693/0.4808, allocations: 1.248 MB / 0.7671 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000659/0.4815, allocations: 319 kB / 0.7675 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.4815, allocations: 4 kB / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.4816, allocations: 0 / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.4816, allocations: 3.938 kB / 0.7675 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.482, allocations: 55.75 kB / 0.7675 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.4821, allocations: 12 kB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.4821, allocations: 4 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.4821, allocations: 7.984 kB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.4822, allocations: 11.92 kB / 0.7675 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4822, allocations: 8 kB / 0.7676 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.4824, allocations: 67.86 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.4824, allocations: 0 / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.4825, allocations: 11.98 kB / 0.7676 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.4826, allocations: 51.53 kB / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4826, allocations: 0 / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4826, allocations: 0 / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4826, allocations: 0 / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004269/0.4831, allocations: 332.8 kB / 0.768 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4831, allocations: 16.03 kB / 0.768 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.4832, allocations: 34.69 kB / 0.768 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.4833, allocations: 12.88 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.669e-05/0.4834, allocations: 160.4 kB / 0.7682 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4835, allocations: 4.375 kB / 0.7682 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4835, allocations: 4.375 kB / 0.7682 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.4836, allocations: 46.23 kB / 0.7683 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4837, allocations: 3.938 kB / 0.7683 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4837, allocations: 0 / 0.7683 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4837, allocations: 0 / 0.7683 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.4837, allocations: 16 kB / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.4839, allocations: 161.6 kB / 0.7684 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.4841, allocations: 50.59 kB / 0.7685 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.4842, allocations: 16.86 kB / 0.7685 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4842, allocations: 3.984 kB / 0.7685 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4843, allocations: 34.5 kB / 0.7685 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4843, allocations: 4 kB / 0.7685 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001347/0.4856, allocations: 398.6 kB / 0.7689 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4857, allocations: 51.41 kB / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.4857, allocations: 89.86 kB / 0.7691 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4857, allocations: 29.64 kB / 0.7691 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.4858, allocations: 84.14 kB / 0.7692 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.4858, allocations: 27.78 kB / 0.7692 GB, free: 260 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.4858, allocations: 17.72 kB / 0.7692 GB, free: 236 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.486, allocations: 318.8 kB / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.486, allocations: 16 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.4861, allocations: 15.98 kB / 0.7695 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.4862, allocations: 40.86 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4862, allocations: 0 / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000128/0.4863, allocations: 89.64 kB / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4863, allocations: 7.938 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4863, allocations: 0 / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4864, allocations: 0 / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.4865, allocations: 15.94 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.4865, allocations: 3.938 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.4865, allocations: 7.984 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4866, allocations: 4 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.229e-05/0.4866, allocations: 108.2 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.4867, allocations: 11.94 kB / 0.7698 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.4869, allocations: 93.58 kB / 0.7699 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4869, allocations: 3.938 kB / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4869, allocations: 0 / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4869, allocations: 8 kB / 0.7699 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.487, allocations: 161.7 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.487, allocations: 4 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/0.4871, allocations: 8 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4871, allocations: 3.938 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4872, allocations: 4 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4872, allocations: 0 / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4872, allocations: 3.938 kB / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.4874, allocations: 121.1 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.4874, allocations: 85.08 kB / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4875, allocations: 4.062 kB / 0.7703 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.4875, allocations: 11.98 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.4876, allocations: 3.938 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.4876, allocations: 4 kB / 0.7703 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.4876, allocations: 77.11 kB / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4876, allocations: 0 / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001893/0.4878, allocations: 12 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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.0004328/0.4882, allocations: 0.6675 MB / 0.7711 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.4884, allocations: 51.91 kB / 0.7711 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4884, allocations: 0 / 0.7711 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.4884, allocations: 20 kB / 0.7711 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.4887, allocations: 7.984 kB / 0.7711 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4897, allocations: 1.181 MB / 0.7723 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.4899, allocations: 0.6807 MB / 0.7729 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.49, allocations: 7.984 kB / 0.773 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.4901, allocations: 11.44 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4901, allocations: 0 / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.5093, allocations: 1.674 MB / 0.7746 GB, free: 10.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.917, allocations: 15.97 kB / 0.7746 GB, free: 10.64 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)