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.007704/0.007704, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001705/0.001705, allocations: 194.7 kB / 16.67 MB, free: 5.961 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: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002202, allocations: 282.5 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.023/1.023, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 96.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1624, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002483/0.165, allocations: 1.247 MB / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000941/0.1659, allocations: 0.6273 MB / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.166, allocations: 0 / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.166, allocations: 0 / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.1661, allocations: 3.938 kB / 0.7678 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1666, allocations: 123.4 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1666, allocations: 15.92 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.1667, allocations: 4 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.1667, allocations: 7.984 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.1668, allocations: 7.984 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.1668, allocations: 4 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.1672, allocations: 227.6 kB / 0.7681 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1672, allocations: 3.938 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1672, allocations: 7.938 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1674, allocations: 135.9 kB / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1675, allocations: 0 / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1675, allocations: 3.938 kB / 0.7683 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1675, allocations: 0 / 0.7683 GB, free: 6.508 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.0003815/0.1679, allocations: 355.2 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1679, allocations: 12.03 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1679, allocations: 34.75 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1681, allocations: 8.891 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/0.1682, allocations: 164.4 kB / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1682, allocations: 8.375 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1682, allocations: 384 / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1683, allocations: 42.25 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1683, allocations: 3.938 kB / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1684, allocations: 0 / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1684, allocations: 4 kB / 0.7689 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.1684, allocations: 11.94 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.1686, allocations: 153.7 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1687, allocations: 46.59 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.1688, allocations: 20.94 kB / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1688, allocations: 0 / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1688, allocations: 34.56 kB / 0.7691 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1688, allocations: 0 / 0.7691 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006548/0.1695, allocations: 310.2 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1695, allocations: 59.34 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.936e-05/0.1696, allocations: 89.86 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1696, allocations: 25.7 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.1696, allocations: 84.14 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1697, allocations: 23.84 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1697, allocations: 17.72 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.1698, allocations: 310.8 kB / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.1698, allocations: 15.98 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.1698, allocations: 8 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.981e-05/0.1699, allocations: 32.84 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1699, allocations: 0 / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.245e-05/0.17, allocations: 65.62 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.17, allocations: 18.28 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.17, allocations: 3.938 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1701, allocations: 0 / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.1701, allocations: 11.98 kB / 0.7702 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1702, allocations: 4 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.1702, allocations: 3.938 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1702, allocations: 0 / 0.7702 GB, free: 4.285 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 6.564e-05/0.1703, allocations: 113.8 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.1703, allocations: 3.938 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1704, allocations: 77.58 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1704, allocations: 4 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1704, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1705, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.601e-05/0.1706, allocations: 153.8 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1706, allocations: 4 kB / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.1706, allocations: 15.98 kB / 0.7705 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1706, allocations: 3.938 kB / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1707, allocations: 0 / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1707, allocations: 0 / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1707, allocations: 0 / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1708, allocations: 105.3 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.1709, allocations: 89.06 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1709, allocations: 4 kB / 0.7707 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.1709, allocations: 4 kB / 0.7707 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.171, allocations: 3.984 kB / 0.7707 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.171, allocations: 4 kB / 0.7707 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.171, allocations: 79.34 kB / 0.7708 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 0 / 0.7708 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001877/0.1712, allocations: 8 kB / 0.7708 GB, free: 3.523 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.0003572/0.1716, allocations: 0.6397 MB / 0.7714 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1717, allocations: 36.16 kB / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1717, allocations: 4.062 kB / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.1717, allocations: 19.98 kB / 0.7715 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.172, allocations: 11.22 kB / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.1728, allocations: 1.157 MB / 0.7726 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.173, allocations: 0.6807 MB / 0.7733 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.1731, allocations: 7.938 kB / 0.7733 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1731, allocations: 15.44 kB / 0.7733 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1731, allocations: 0 / 0.7733 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3429/0.5161, allocations: 1.39 MB / 0.7747 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.905, allocations: 6.875 kB / 0.7747 GB, free: 14.38 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)