Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005696/0.005696, allocations: 104.8 kB / 15.74 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.001392/0.001392, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7951/0.7964, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002498/0.799, allocations: 1.257 MB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.8, allocations: 0.6143 MB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.8001, allocations: 0 / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.8001, allocations: 4.844 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.8002, allocations: 0.7031 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.8008, allocations: 132.9 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.8009, allocations: 9.906 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.8009, allocations: 2.641 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.801, allocations: 20.95 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.801, allocations: 4.828 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.8011, allocations: 0.9688 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.8015, allocations: 216.6 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.8015, allocations: 2.266 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.8016, allocations: 11.25 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.8019, allocations: 132.8 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8019, allocations: 0.6094 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8019, allocations: 1.219 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8019, allocations: 0 / 1.09 GB, free: 3.789 MB / 0.8575 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.0003931/0.8023, allocations: 352.7 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8024, allocations: 13.16 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.8024, allocations: 36.42 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.8026, allocations: 7.875 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.61e-05/0.8026, allocations: 161.8 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.8026, allocations: 1.406 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.8027, allocations: 6.562 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.8028, allocations: 45.48 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8028, allocations: 8.5 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8028, allocations: 3.938 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8028, allocations: 1.094 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.8029, allocations: 11.8 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.803, allocations: 157.4 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.8032, allocations: 43.73 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.8032, allocations: 17.75 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.8033, allocations: 4 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.8033, allocations: 32.39 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.8033, allocations: 1.125 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006809/0.804, allocations: 309.1 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.804, allocations: 53.08 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.965e-05/0.8041, allocations: 90.38 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.8041, allocations: 30.58 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.8041, allocations: 81.3 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.8041, allocations: 23.59 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.8042, allocations: 20.03 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.8042, allocations: 312.6 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.8043, allocations: 13.02 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.8043, allocations: 11.89 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.8044, allocations: 27.98 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.8044, allocations: 4 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.8045, allocations: 71.42 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8045, allocations: 10.23 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.8045, allocations: 0.8125 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8045, allocations: 1.156 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.8046, allocations: 11.45 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8046, allocations: 0 / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.8047, allocations: 0.9062 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.8047, allocations: 2.656 kB / 1.092 GB, free: 1.836 MB / 0.8575 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 5.443e-05/0.8047, allocations: 115.9 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.8047, allocations: 5.922 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.8049, allocations: 73.92 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8049, allocations: 5.797 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8049, allocations: 1 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8049, allocations: 4.641 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.805, allocations: 155.5 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.805, allocations: 9 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.8051, allocations: 10.31 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8051, allocations: 4.453 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8051, allocations: 4.719 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8051, allocations: 1.312 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8051, allocations: 0.7812 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.8053, allocations: 103.3 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.8053, allocations: 82.95 kB / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.8053, allocations: 5.672 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.8054, allocations: 4.438 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.8054, allocations: 6.844 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.8054, allocations: 2.641 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.036e-05/0.8054, allocations: 75.28 kB / 1.092 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8055, allocations: 1.062 kB / 1.092 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000193/0.8056, allocations: 8.938 kB / 1.092 GB, free: 1.168 MB / 0.8575 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.0003135/0.806, allocations: 0.6457 MB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.8061, allocations: 31.59 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8061, allocations: 0.7188 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.8061, allocations: 16.33 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.8063, allocations: 7.578 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.8073, allocations: 1.156 MB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.8075, allocations: 0.677 MB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.8075, allocations: 12.86 kB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.8076, allocations: 14.52 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.8076, allocations: 0 / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.8263, allocations: 1.377 MB / 1.096 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.986, allocations: 9.906 kB / 1.096 GB, free: 14.36 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1)