Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_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.001571/0.001571, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001996/0.001996, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.113/2.113, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.221/1.221, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005684/0.0005688, allocations: 8 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9402/0.9408, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002098/0.943, allocations: 0.9745 MB / 0.5839 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.9437, allocations: 206 kB / 0.5841 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.9438, allocations: 1.156 kB / 0.5841 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.9438, allocations: 4 kB / 0.5841 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.9439, allocations: 4.594 kB / 0.5841 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.9443, allocations: 37.05 kB / 0.5842 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.9444, allocations: 6.078 kB / 0.5842 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.9445, allocations: 6.625 kB / 0.5842 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.9445, allocations: 13.95 kB / 0.5842 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.9446, allocations: 7.328 kB / 0.5842 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.9446, allocations: 0 / 0.5842 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.9448, allocations: 46.47 kB / 0.5843 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.9449, allocations: 9.906 kB / 0.5843 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.9449, allocations: 27.67 kB / 0.5843 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.9451, allocations: 30.92 kB / 0.5843 GB, free: 3.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9451, allocations: 0.875 kB / 0.5843 GB, free: 3.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.9451, allocations: 3.938 kB / 0.5843 GB, free: 3.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.9451, allocations: 0 / 0.5843 GB, free: 3.078 MB / 430.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.0004842/0.9456, allocations: 326.9 kB / 0.5846 GB, free: 2.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/0.9457, allocations: 12.38 kB / 0.5846 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.9458, allocations: 36.48 kB / 0.5847 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.946, allocations: 17.5 kB / 0.5847 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.9461, allocations: 165.7 kB / 0.5849 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.9461, allocations: 0.6562 kB / 0.5849 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.9462, allocations: 6.25 kB / 0.5849 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.9464, allocations: 42.05 kB / 0.5849 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.9464, allocations: 4.906 kB / 0.5849 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.9465, allocations: 0 / 0.5849 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.9465, allocations: 1.656 kB / 0.5849 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.9466, allocations: 22.02 kB / 0.5849 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.9468, allocations: 162.1 kB / 0.5851 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.947, allocations: 41.05 kB / 0.5851 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.947, allocations: 1.859 kB / 0.5851 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.9471, allocations: 31.75 kB / 0.5852 GB, free: 2.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.9471, allocations: 0 / 0.5852 GB, free: 2.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.00297/0.95, allocations: 495.8 kB / 0.5856 GB, free: 1.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.9501, allocations: 57.56 kB / 0.5857 GB, free: 1.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.984e-05/0.9502, allocations: 94.56 kB / 0.5858 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.9502, allocations: 25.7 kB / 0.5858 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.9502, allocations: 81.08 kB / 0.5859 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.9503, allocations: 33.25 kB / 0.5859 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.9503, allocations: 4 kB / 0.5859 GB, free: 1.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9504, allocations: 318 kB / 0.5862 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.9505, allocations: 21.03 kB / 0.5862 GB, free: 1.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.9506, allocations: 22.06 kB / 0.5863 GB, free: 1.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.101e-05/0.9507, allocations: 24.56 kB / 0.5863 GB, free: 1.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9507, allocations: 5.375 kB / 0.5863 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002607/0.951, allocations: 96.2 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.951, allocations: 4.719 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9511, allocations: 1.281 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.9511, allocations: 1.984 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.9514, allocations: 13.05 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.9514, allocations: 1.188 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.9515, allocations: 8.703 kB / 0.5864 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.9515, allocations: 1.906 kB / 0.5864 GB, free: 1.102 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.9516, allocations: 121.3 kB / 0.5865 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.9517, allocations: 4.938 kB / 0.5865 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.9518, allocations: 17.69 kB / 0.5865 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.9518, allocations: 0.7188 kB / 0.5865 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.9518, allocations: 5.766 kB / 0.5865 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.9518, allocations: 0.6562 kB / 0.5865 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.952, allocations: 184.4 kB / 0.5867 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.9521, allocations: 0 / 0.5867 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.9523, allocations: 16.89 kB / 0.5867 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.9523, allocations: 1.75 kB / 0.5867 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.9523, allocations: 5.562 kB / 0.5867 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9523, allocations: 0 / 0.5867 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9523, allocations: 0.5625 kB / 0.5867 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.9528, allocations: 150.6 kB / 0.5869 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.9528, allocations: 78.89 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.9529, allocations: 0.6562 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.953, allocations: 4.922 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.9531, allocations: 12.64 kB / 0.587 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.9531, allocations: 2.391 kB / 0.587 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.9531, allocations: 76.28 kB / 0.5871 GB, free: 456 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9531, allocations: 0 / 0.5871 GB, free: 456 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.9535, allocations: 9.625 kB / 0.5871 GB, free: 456 kB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008117/0.9543, allocations: 0.6912 MB / 0.5877 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.9546, allocations: 58.45 kB / 0.5878 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9546, allocations: 192 / 0.5878 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.9547, allocations: 33.5 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.955, allocations: 7.828 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.9565, allocations: 470.5 kB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.957, allocations: 0.6936 MB / 0.589 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.9572, allocations: 8.141 kB / 0.589 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.9572, allocations: 15.48 kB / 0.589 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.9573, allocations: 0 / 0.589 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.9792, allocations: 1.372 MB / 0.5903 GB, free: 14.56 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003311/0.9796, allocations: 227 kB / 0.5905 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.807, allocations: 0 / 0.5905 GB, free: 14.32 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: