Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_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.005379/0.005379, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001291/0.001291, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00226/0.00226, allocations: 285.7 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.9563/0.9563, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 95.86 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4413, allocations: 86.97 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002555/0.4439, allocations: 1.245 MB / 0.7671 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.4449, allocations: 0.613 MB / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.445, allocations: 4 kB / 0.7677 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.4451, allocations: 3.938 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.183e-05/0.4451, allocations: 4 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.4457, allocations: 131.4 kB / 0.7679 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.4457, allocations: 8 kB / 0.7679 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.4458, allocations: 0 / 0.7679 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.4458, allocations: 11.92 kB / 0.7679 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.4459, allocations: 11.98 kB / 0.7679 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.4459, allocations: 0 / 0.7679 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.4463, allocations: 219.6 kB / 0.7681 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.4463, allocations: 4 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.4463, allocations: 11.94 kB / 0.7681 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.4465, allocations: 128.8 kB / 0.7683 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4465, allocations: 0 / 0.7683 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4466, allocations: 0 / 0.7683 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.4466, allocations: 0 / 0.7683 GB, free: 1.484 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.0003836/0.447, allocations: 355.1 kB / 0.7686 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.447, allocations: 8.031 kB / 0.7686 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.447, allocations: 38.73 kB / 0.7686 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4472, allocations: 12.89 kB / 0.7686 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.4473, allocations: 168.4 kB / 0.7688 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4473, allocations: 4.312 kB / 0.7688 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.4473, allocations: 4.375 kB / 0.7688 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4475, allocations: 42.25 kB / 0.7689 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4475, allocations: 3.938 kB / 0.7689 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4475, allocations: 7.922 kB / 0.7689 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4475, allocations: 0 / 0.7689 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.776e-05/0.4476, allocations: 15.94 kB / 0.7689 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.4477, allocations: 157.7 kB / 0.769 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4479, allocations: 38.61 kB / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.448, allocations: 20.94 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.448, allocations: 0 / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.448, allocations: 34.56 kB / 0.7691 GB, free: 428 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.448, allocations: 0 / 0.7691 GB, free: 428 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000644/0.4487, allocations: 302.3 kB / 0.7694 GB, free: 72 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.4487, allocations: 59.34 kB / 0.7695 GB, free: 0 / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.712e-05/0.4488, allocations: 89.86 kB / 0.7696 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.4488, allocations: 29.7 kB / 0.7696 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.4488, allocations: 80.14 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4489, allocations: 23.78 kB / 0.7697 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.4489, allocations: 17.72 kB / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.449, allocations: 318.8 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.4491, allocations: 15.98 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.4491, allocations: 4 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.4492, allocations: 32.86 kB / 0.7701 GB, free: 15.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4492, allocations: 0 / 0.7701 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.619e-05/0.4493, allocations: 61.67 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4493, allocations: 14.28 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4493, allocations: 0 / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4493, allocations: 7.922 kB / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.4494, allocations: 12 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4494, allocations: 0 / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.4494, allocations: 8 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4495, allocations: 0 / 0.7702 GB, free: 15.26 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.571e-05/0.4495, allocations: 109.8 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.4496, allocations: 3.938 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.4497, allocations: 77.58 kB / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4497, allocations: 3.938 kB / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4497, allocations: 4 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4497, allocations: 0 / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.4498, allocations: 165.6 kB / 0.7705 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4498, allocations: 0 / 0.7705 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.4499, allocations: 15.98 kB / 0.7705 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4499, allocations: 3.938 kB / 0.7705 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4499, allocations: 4 kB / 0.7705 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.45, allocations: 384 / 0.7705 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.45, allocations: 4 kB / 0.7705 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.4501, allocations: 113 kB / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.4502, allocations: 85.08 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4502, allocations: 3.938 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.4503, allocations: 336 / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.4503, allocations: 7.984 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4503, allocations: 0 / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.4503, allocations: 79.28 kB / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4503, allocations: 0 / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000185/0.4505, allocations: 8 kB / 0.7708 GB, free: 14.48 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.000393/0.4509, allocations: 0.6554 MB / 0.7715 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.451, allocations: 31.92 kB / 0.7715 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.451, allocations: 0 / 0.7715 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.4511, allocations: 16 kB / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.4512, allocations: 9.875 kB / 0.7715 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009161/0.4521, allocations: 1.162 MB / 0.7726 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4523, allocations: 0.6846 MB / 0.7733 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.4524, allocations: 0 / 0.7733 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.4524, allocations: 15.38 kB / 0.7733 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4524, allocations: 0 / 0.7733 GB, free: 11.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.47, allocations: 1.386 MB / 0.7747 GB, free: 10.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.785, allocations: 9.188 kB / 0.7747 GB, free: 10.6 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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_InverseDewPointTemperatureDerivativeCheck_amb.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1)