Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.0007657/0.0007654, allocations: 92.78 kB / 15.7 MB, free: 472 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.0007127/0.0007126, allocations: 175.2 kB / 16.58 MB, free: 5.688 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.184/1.184, allocations: 223.3 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6042/0.6042, allocations: 113.7 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 12.22 kB / 493.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0009716/0.1168, allocations: 0.9901 MB / 0.5579 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.1175, allocations: 0.6108 MB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.1176, allocations: 0 / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.708e-06/0.1176, allocations: 0 / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.1176, allocations: 3.938 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1179, allocations: 95.67 kB / 0.5586 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.118, allocations: 19.88 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.118, allocations: 3.984 kB / 0.5586 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.118, allocations: 8 kB / 0.5586 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.1181, allocations: 19.91 kB / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1181, allocations: 0 / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1183, allocations: 143.8 kB / 0.5588 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-06/0.1183, allocations: 7.922 kB / 0.5588 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1184, allocations: 29.7 kB / 0.5588 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.1185, allocations: 68.08 kB / 0.5589 GB, free: 9.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1185, allocations: 8 kB / 0.5589 GB, free: 9.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1185, allocations: 0 / 0.5589 GB, free: 9.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1185, allocations: 0 / 0.5589 GB, free: 9.617 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003356/0.1188, allocations: 347.3 kB / 0.5592 GB, free: 9.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1189, allocations: 8.031 kB / 0.5592 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.1189, allocations: 30.56 kB / 0.5592 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.1193, allocations: 35.95 kB / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/0.1194, allocations: 163 kB / 0.5594 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1194, allocations: 0 / 0.5594 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1194, allocations: 11.95 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1195, allocations: 53.59 kB / 0.5595 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1196, allocations: 0 / 0.5595 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1196, allocations: 4 kB / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1196, allocations: 0 / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1197, allocations: 27.97 kB / 0.5595 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.1199, allocations: 165.7 kB / 0.5597 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1201, allocations: 70.47 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.1202, allocations: 32.88 kB / 0.5598 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1202, allocations: 3.953 kB / 0.5598 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.1202, allocations: 30.56 kB / 0.5598 GB, free: 8.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1203, allocations: 4 kB / 0.5598 GB, free: 8.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.002799/0.1231, allocations: 0.5721 MB / 0.5604 GB, free: 7.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1231, allocations: 55.39 kB / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.1231, allocations: 101.8 kB / 0.5605 GB, free: 7.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1232, allocations: 25.7 kB / 0.5605 GB, free: 7.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.1232, allocations: 80.27 kB / 0.5606 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1232, allocations: 23.72 kB / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.1232, allocations: 0 / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.1233, allocations: 318.8 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1234, allocations: 35.97 kB / 0.561 GB, free: 7.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1235, allocations: 35.97 kB / 0.561 GB, free: 7.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1237, allocations: 39.92 kB / 0.561 GB, free: 7.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1237, allocations: 0 / 0.561 GB, free: 7.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002854/0.124, allocations: 121.9 kB / 0.5612 GB, free: 6.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.124, allocations: 7.984 kB / 0.5612 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.124, allocations: 4 kB / 0.5612 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.124, allocations: 4 kB / 0.5612 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1242, allocations: 19.97 kB / 0.5612 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1242, allocations: 0 / 0.5612 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1243, allocations: 8 kB / 0.5612 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1244, allocations: 3.984 kB / 0.5612 GB, free: 6.938 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 (7): * Single equations (assignments): 7 * 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 7.449e-05/0.1244, allocations: 113.8 kB / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1245, allocations: 11.88 kB / 0.5613 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1245, allocations: 15.91 kB / 0.5613 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1245, allocations: 4 kB / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1245, allocations: 0 / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1245, allocations: 0 / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.1247, allocations: 191.6 kB / 0.5615 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1247, allocations: 4 kB / 0.5615 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.1249, allocations: 19.97 kB / 0.5616 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1249, allocations: 7.953 kB / 0.5616 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1249, allocations: 4.047 kB / 0.5616 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1249, allocations: 4 kB / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1249, allocations: 0 / 0.5616 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1254, allocations: 189.2 kB / 0.5618 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.1254, allocations: 81.14 kB / 0.5618 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1254, allocations: 3.953 kB / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1256, allocations: 23.86 kB / 0.5619 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.1256, allocations: 4.062 kB / 0.5619 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1256, allocations: 7.984 kB / 0.5619 GB, free: 6.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.607e-05/0.1257, allocations: 75.28 kB / 0.5619 GB, free: 6.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1257, allocations: 0 / 0.5619 GB, free: 6.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1259, allocations: 35.94 kB / 0.562 GB, free: 6.059 MB / 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 (6): * Single equations (assignments): 6 * 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.0007083/0.1266, allocations: 0.7537 MB / 0.5627 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.1269, allocations: 91.92 kB / 0.5628 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1269, allocations: 0 / 0.5628 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.127, allocations: 39.97 kB / 0.5628 GB, free: 5.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.1272, allocations: 15.94 kB / 0.5628 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1283, allocations: 0.5123 MB / 0.5633 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.1285, allocations: 0.6809 MB / 0.564 GB, free: 3.867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1287, allocations: 28.09 kB / 0.564 GB, free: 3.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.1287, allocations: 19.42 kB / 0.5641 GB, free: 3.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1288, allocations: 0 / 0.5641 GB, free: 3.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.139, allocations: 2.225 MB / 0.5662 GB, free: 1.836 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.1392, allocations: 238.5 kB / 0.5665 GB, free: 1.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.615, allocations: 5.5 kB / 0.5665 GB, free: 1.594 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: