Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_10_Buildings_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.001751/0.001751, allocations: 108.6 kB / 15.73 MB, free: 72 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.002201/0.002201, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.89 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2727, allocations: 151.6 MB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002309/0.275, allocations: 1.247 MB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.2761, allocations: 0.631 MB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.2761, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.2761, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.2762, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.2766, allocations: 135.3 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.2767, allocations: 15.98 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.2767, allocations: 4 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.2768, allocations: 7.938 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.2768, allocations: 4 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2769, allocations: 0 / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.2772, allocations: 223.6 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.2772, allocations: 7.984 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.2773, allocations: 11.92 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.2775, allocations: 132 kB / 1.169 GB, free: 5.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2775, allocations: 0 / 1.169 GB, free: 5.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2775, allocations: 0 / 1.169 GB, free: 5.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2775, allocations: 0 / 1.169 GB, free: 5.027 MB / 0.92 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.0003666/0.2779, allocations: 347.3 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2779, allocations: 12.03 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.278, allocations: 30.75 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2781, allocations: 8.922 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.2782, allocations: 168.3 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2782, allocations: 8.312 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2783, allocations: 4.375 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.2784, allocations: 42.25 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2784, allocations: 3.938 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2784, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2784, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.2784, allocations: 7.984 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2786, allocations: 157.7 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2788, allocations: 50.55 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.2788, allocations: 16.86 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2788, allocations: 0 / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2789, allocations: 34.56 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.2789, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0006659/0.2795, allocations: 310.7 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.2796, allocations: 51.41 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.2796, allocations: 93.84 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2796, allocations: 25.7 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.2797, allocations: 80.14 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.2797, allocations: 23.8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.2797, allocations: 17.72 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.2799, allocations: 330.8 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.2799, allocations: 4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.2799, allocations: 15.94 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.19e-05/0.28, allocations: 32.84 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.28, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.2801, allocations: 69.66 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2801, allocations: 7.938 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2801, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2801, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.2802, allocations: 12 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2802, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.2803, allocations: 3.938 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.2803, allocations: 11.98 kB / 1.17 GB, free: 2.797 MB / 0.92 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 6.937e-05/0.2803, allocations: 105.8 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.2804, allocations: 11.89 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.2805, allocations: 65.66 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2805, allocations: 7.922 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2805, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2805, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2807, allocations: 157.7 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2807, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.2807, allocations: 11.94 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.2807, allocations: 3.938 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2808, allocations: 8.125 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2808, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2808, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.2809, allocations: 101.1 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.281, allocations: 85.05 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.281, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.2811, allocations: 4.031 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.2811, allocations: 7.984 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.2811, allocations: 0 / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.2811, allocations: 75.28 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2811, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001898/0.2813, allocations: 12 kB / 1.171 GB, free: 2.039 MB / 0.92 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.000359/0.2817, allocations: 0.6476 MB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.672e-05/0.2818, allocations: 31.92 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2818, allocations: 4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.2818, allocations: 12 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.282, allocations: 11.94 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008706/0.2829, allocations: 1.165 MB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2831, allocations: 0.6768 MB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.424e-05/0.2832, allocations: 7.984 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.2832, allocations: 11.44 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2832, allocations: 0 / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.3, allocations: 1.382 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.856, allocations: 25.27 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.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 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1)