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.005135/0.005135, allocations: 102 kB / 15.73 MB, free: 6.051 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.001207/0.001207, allocations: 195 kB / 16.68 MB, free: 5.969 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 286.4 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 99.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002174/0.1658, allocations: 1.274 MB / 0.7672 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004791/0.1663, allocations: 227.2 kB / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1664, allocations: 4 kB / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.1664, allocations: 0 / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.1665, allocations: 0 / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1668, allocations: 47.81 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.1668, allocations: 11.94 kB / 0.7674 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1669, allocations: 3.984 kB / 0.7674 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.1669, allocations: 15.94 kB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.167, allocations: 11.97 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.167, allocations: 0 / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1671, allocations: 39.97 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1671, allocations: 7.984 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.1672, allocations: 11.94 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1673, allocations: 35.89 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1673, allocations: 0 / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1673, allocations: 8 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1673, allocations: 0 / 0.7676 GB, free: 7.203 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.0003627/0.1677, allocations: 339.6 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1677, allocations: 11.97 kB / 0.7679 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1678, allocations: 30.75 kB / 0.7679 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1679, allocations: 16.83 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/0.168, allocations: 164.3 kB / 0.7681 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.168, allocations: 8.375 kB / 0.7681 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1681, allocations: 4.375 kB / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1682, allocations: 42.25 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1682, allocations: 3.938 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1682, allocations: 0 / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1682, allocations: 4 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1683, allocations: 15.98 kB / 0.7682 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1685, allocations: 161.7 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.178e-05/0.1686, allocations: 46.52 kB / 0.7684 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.1686, allocations: 20.97 kB / 0.7684 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1686, allocations: 3.938 kB / 0.7684 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1687, allocations: 34.56 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1687, allocations: 0 / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002087/0.1708, allocations: 0.4906 MB / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1708, allocations: 55.41 kB / 0.769 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.792e-05/0.1708, allocations: 89.86 kB / 0.7691 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1709, allocations: 29.7 kB / 0.7691 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.1709, allocations: 80.14 kB / 0.7692 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.171, allocations: 31.56 kB / 0.7692 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.171, allocations: 25.64 kB / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1711, allocations: 314.8 kB / 0.7695 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.691e-05/0.1712, allocations: 19.98 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.1712, allocations: 24.12 kB / 0.7696 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1713, allocations: 64.84 kB / 0.7696 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1713, allocations: 0 / 0.7696 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001478/0.1715, allocations: 93.56 kB / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1715, allocations: 8 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1715, allocations: 0 / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1715, allocations: 0 / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1717, allocations: 12 kB / 0.7697 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1717, allocations: 368 / 0.7697 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.1718, allocations: 15.92 kB / 0.7697 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1718, allocations: 3.984 kB / 0.7697 GB, free: 4.691 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 8.279e-05/0.1719, allocations: 121.7 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.1719, allocations: 7.844 kB / 0.7699 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.172, allocations: 15.97 kB / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.172, allocations: 4 kB / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.172, allocations: 0 / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.172, allocations: 0 / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1721, allocations: 179.3 kB / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1721, allocations: 0 / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1723, allocations: 23.91 kB / 0.7701 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1723, allocations: 0 / 0.7701 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1723, allocations: 4 kB / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1723, allocations: 0 / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1723, allocations: 0 / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1725, allocations: 145 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.1726, allocations: 81.05 kB / 0.7703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1726, allocations: 4.031 kB / 0.7703 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1727, allocations: 8 kB / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.1727, allocations: 3.984 kB / 0.7703 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1728, allocations: 4 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.1728, allocations: 75.28 kB / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1728, allocations: 4.062 kB / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001848/0.173, allocations: 12 kB / 0.7704 GB, free: 3.918 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.0004459/0.1734, allocations: 0.6904 MB / 0.7711 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.1736, allocations: 59.97 kB / 0.7711 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1736, allocations: 4.062 kB / 0.7711 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.1737, allocations: 35.92 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1739, allocations: 11.06 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1752, allocations: 1.279 MB / 0.7724 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1754, allocations: 0.6768 MB / 0.7731 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.91e-05/0.1755, allocations: 8 kB / 0.7731 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.1756, allocations: 11.44 kB / 0.7731 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1756, allocations: 7.938 kB / 0.7731 GB, free: 1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3128/0.4884, allocations: 1.66 MB / 0.7747 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.507, allocations: 8.062 kB / 0.7748 GB, free: 14.39 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)