Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 70.86 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002448/0.1523, allocations: 1.236 MB / 0.5857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004752/0.1528, allocations: 251.1 kB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.1528, allocations: 0 / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.1529, allocations: 3.938 kB / 0.5859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.1529, allocations: 0 / 0.5859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1532, allocations: 35.83 kB / 0.586 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.1532, allocations: 19.92 kB / 0.586 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.1533, allocations: 4 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1533, allocations: 8 kB / 0.586 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1534, allocations: 19.91 kB / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1534, allocations: 0 / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1535, allocations: 47.95 kB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1535, allocations: 0 / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.1536, allocations: 15.92 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1537, allocations: 36.23 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1537, allocations: 0 / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1537, allocations: 0 / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1537, allocations: 0 / 0.5861 GB, free: 2.742 MB / 494.1 MB 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.0003483/0.154, allocations: 339.5 kB / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1541, allocations: 12.03 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1541, allocations: 34.75 kB / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1543, allocations: 12.83 kB / 0.5865 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.1544, allocations: 164.4 kB / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1544, allocations: 384 / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1544, allocations: 384 / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1545, allocations: 58.17 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1545, allocations: 7.938 kB / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.1545, allocations: 4 kB / 0.5867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1545, allocations: 0 / 0.5867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.1546, allocations: 15.94 kB / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.1548, allocations: 153.7 kB / 0.5869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.1549, allocations: 42.62 kB / 0.5869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.1549, allocations: 24.92 kB / 0.587 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1549, allocations: 8 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1549, allocations: 34.55 kB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.155, allocations: 0 / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.00197/0.1569, allocations: 0.4941 MB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.157, allocations: 51.41 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.322e-05/0.157, allocations: 93.8 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.157, allocations: 25.7 kB / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.1571, allocations: 80.14 kB / 0.5877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1571, allocations: 31.55 kB / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.1572, allocations: 21.72 kB / 0.5878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.1573, allocations: 322.8 kB / 0.5881 GB, free: 480 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/0.1573, allocations: 20 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.1574, allocations: 27.92 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.1575, allocations: 52.86 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1575, allocations: 0 / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001395/0.1576, allocations: 97.56 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1576, allocations: 4 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1576, allocations: 0 / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1577, allocations: 7.984 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1578, allocations: 12 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1578, allocations: 4 kB / 0.5883 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.1579, allocations: 0 / 0.5883 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1579, allocations: 0 / 0.5883 GB, free: 244 kB / 494.1 MB 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.024e-05/0.158, allocations: 113.8 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.158, allocations: 3.938 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.158, allocations: 23.95 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.158, allocations: 4.219 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1581, allocations: 0 / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1581, allocations: 3.984 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1582, allocations: 179.8 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1582, allocations: 0 / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1583, allocations: 15.94 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1584, allocations: 8 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1584, allocations: 4 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1584, allocations: 0 / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1584, allocations: 0 / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1586, allocations: 145 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1587, allocations: 97.06 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1587, allocations: 0 / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1588, allocations: 4 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.1588, allocations: 0 / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.1588, allocations: 11.98 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.1589, allocations: 76.94 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1589, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001828/0.159, allocations: 12 kB / 0.589 GB, free: 15.45 MB / 0.4981 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.0004395/0.1595, allocations: 0.6828 MB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1596, allocations: 75.95 kB / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1597, allocations: 0 / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.1597, allocations: 27.94 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1599, allocations: 11.98 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1612, allocations: 1.267 MB / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1615, allocations: 0.6846 MB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.1615, allocations: 8 kB / 0.5917 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.1616, allocations: 11.44 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1616, allocations: 4 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/0.237, allocations: 1.604 MB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.537, allocations: 4.094 kB / 0.5932 GB, free: 11.12 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)