Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.008682/0.008682, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001807/0.001807, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 95.38 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1527, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002567/0.1553, allocations: 1.264 MB / 0.7672 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005075/0.1558, allocations: 231.2 kB / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.1558, allocations: 0 / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.1559, allocations: 0 / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.1559, allocations: 0 / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1562, allocations: 51.75 kB / 0.7674 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.1563, allocations: 19.98 kB / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1564, allocations: 0 / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.1564, allocations: 11.92 kB / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.1565, allocations: 8 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1565, allocations: 0 / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1566, allocations: 43.95 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1566, allocations: 15.92 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.1567, allocations: 7.922 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1568, allocations: 44.17 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1568, allocations: 0 / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1568, allocations: 0 / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.1568, allocations: 0 / 0.7676 GB, free: 7.223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004055/0.1572, allocations: 331.5 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1573, allocations: 12.03 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1573, allocations: 42.62 kB / 0.7679 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1575, allocations: 16.88 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1576, allocations: 172.3 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1576, allocations: 384 / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1576, allocations: 4.375 kB / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1578, allocations: 46.25 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1578, allocations: 3.938 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1578, allocations: 0 / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1578, allocations: 0 / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.1579, allocations: 12 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.158, allocations: 153.7 kB / 0.7683 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1581, allocations: 54.55 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.1582, allocations: 28.97 kB / 0.7684 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1582, allocations: 0 / 0.7684 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1582, allocations: 30.56 kB / 0.7684 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1582, allocations: 0 / 0.7684 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002045/0.1603, allocations: 498.4 kB / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1603, allocations: 51.41 kB / 0.769 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.1604, allocations: 89.86 kB / 0.769 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1604, allocations: 29.69 kB / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.1604, allocations: 92.08 kB / 0.7692 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.1605, allocations: 23.75 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1606, allocations: 25.72 kB / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1607, allocations: 314.8 kB / 0.7695 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.1607, allocations: 20.12 kB / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.1608, allocations: 27.98 kB / 0.7696 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1609, allocations: 64.97 kB / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1609, allocations: 0 / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001514/0.161, allocations: 105.5 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1611, allocations: 8 kB / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1611, allocations: 0 / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1611, allocations: 0 / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1612, allocations: 12 kB / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1612, allocations: 0 / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1613, allocations: 7.938 kB / 0.7697 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1613, allocations: 7.938 kB / 0.7698 GB, free: 4.703 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 (9): * Single equations (assignments): 9 * 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.972e-05/0.1614, allocations: 109.8 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.1614, allocations: 11.94 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1615, allocations: 15.97 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1615, allocations: 0 / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1615, allocations: 0 / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1615, allocations: 0 / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1616, allocations: 175.3 kB / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1616, allocations: 0 / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1618, allocations: 19.94 kB / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1618, allocations: 0 / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1618, allocations: 0 / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1618, allocations: 0 / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1618, allocations: 4 kB / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1621, allocations: 157 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.1621, allocations: 81.05 kB / 0.7703 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1621, allocations: 0 / 0.7703 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1622, allocations: 4.031 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1623, allocations: 11.98 kB / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1623, allocations: 96 / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.1623, allocations: 83.28 kB / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/0.1623, allocations: 0 / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001961/0.1625, allocations: 12 kB / 0.7704 GB, free: 3.938 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 (8): * Single equations (assignments): 8 * 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.0004591/0.163, allocations: 0.6888 MB / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1631, allocations: 59.97 kB / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1631, allocations: 4.062 kB / 0.7711 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.1632, allocations: 31.94 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1634, allocations: 19.42 kB / 0.7712 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1647, allocations: 1.279 MB / 0.7724 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.1649, allocations: 0.6771 MB / 0.7731 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.139e-05/0.165, allocations: 11.98 kB / 0.7731 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1651, allocations: 15.44 kB / 0.7731 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.843e-06/0.1651, allocations: 0 / 0.7731 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/0.4835, allocations: 1.647 MB / 0.7747 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.174, allocations: 9.266 kB / 0.7747 GB, free: 14.45 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_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_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)