Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",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.008651/0.008651, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.002351/0.002352, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 275 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 103.8 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2008, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002514/0.2034, allocations: 1.247 MB / 0.7672 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2045, allocations: 0.6195 MB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.2045, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.2045, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.2046, allocations: 3.938 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.2051, allocations: 139.3 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.2052, allocations: 11.98 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.2052, allocations: 0 / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.2052, allocations: 8 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/0.2053, allocations: 7.984 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.148e-06/0.2053, allocations: 4 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.2057, allocations: 223.6 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.2057, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.2058, allocations: 15.91 kB / 0.7682 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.206, allocations: 128 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2061, allocations: 4 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.526e-06/0.2061, allocations: 0 / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2061, allocations: 3.938 kB / 0.7683 GB, free: 6.484 MB / 0.5606 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.0004398/0.2065, allocations: 351.2 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2066, allocations: 12.03 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.2066, allocations: 30.75 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.2067, allocations: 12.88 kB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2069, allocations: 164.3 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2069, allocations: 4.375 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2069, allocations: 4.375 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.2071, allocations: 38.25 kB / 0.7689 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2071, allocations: 3.938 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.2071, allocations: 4 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2071, allocations: 4 kB / 0.7689 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.2072, allocations: 15.92 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.2073, allocations: 153.7 kB / 0.769 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.2075, allocations: 42.61 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.2076, allocations: 16.86 kB / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2076, allocations: 0 / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2076, allocations: 34.66 kB / 0.7691 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2076, allocations: 0 / 0.7691 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.00082/0.2085, allocations: 314.5 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2085, allocations: 55.34 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.2086, allocations: 97.84 kB / 0.7696 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2086, allocations: 25.7 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.2087, allocations: 84.14 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2087, allocations: 15.86 kB / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2088, allocations: 21.72 kB / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2089, allocations: 314.8 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.2089, allocations: 8 kB / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.209, allocations: 15.98 kB / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.209, allocations: 29.02 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2091, allocations: 0 / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.2092, allocations: 65.67 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2092, allocations: 22.22 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2092, allocations: 3.938 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2092, allocations: 3.984 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.2093, allocations: 8 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2093, allocations: 0 / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.2093, allocations: 7.984 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.2094, allocations: 0 / 0.7702 GB, free: 4.262 MB / 0.5606 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 9.622e-05/0.2095, allocations: 113.8 kB / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2095, allocations: 3.938 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.2096, allocations: 77.64 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2097, allocations: 4 kB / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2097, allocations: 0 / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2097, allocations: 0 / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2098, allocations: 161.7 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2098, allocations: 0 / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.2099, allocations: 15.94 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2099, allocations: 3.938 kB / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2099, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2099, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2099, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.2101, allocations: 105.1 kB / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.2102, allocations: 85.08 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.2102, allocations: 3.938 kB / 0.7707 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.2103, allocations: 8 kB / 0.7707 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.2103, allocations: 3.984 kB / 0.7707 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.2103, allocations: 4 kB / 0.7707 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.2104, allocations: 79.34 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2104, allocations: 0 / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001767/0.2106, allocations: 4 kB / 0.7708 GB, free: 3.5 MB / 0.5606 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 (6): * Single equations (assignments): 6 * 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.0004757/0.211, allocations: 0.6436 MB / 0.7715 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.2112, allocations: 35.92 kB / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2112, allocations: 4.062 kB / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.2112, allocations: 16 kB / 0.7715 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2115, allocations: 3.812 kB / 0.7715 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2127, allocations: 1.171 MB / 0.7727 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.2132, allocations: 0.6845 MB / 0.7733 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.2133, allocations: 0 / 0.7733 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.2133, allocations: 15.44 kB / 0.7733 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2134, allocations: 4 kB / 0.7733 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3507/0.564, allocations: 1.381 MB / 0.7747 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.272, allocations: 11.72 kB / 0.7747 GB, free: 14.37 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_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_amb.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1)