Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.939/0.939, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7276/0.7276, allocations: 154.6 MB / 413.8 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.825e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002007/0.002035, allocations: 1.302 MB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000879/0.002914, allocations: 0.6075 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.002943, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.002963, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.00301, allocations: 7.875 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.003628, allocations: 111.4 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.003707, allocations: 31.84 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.003763, allocations: 4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.00381, allocations: 19.92 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.003889, allocations: 7.984 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.003907, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.004133, allocations: 135.8 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.004156, allocations: 7.922 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.004181, allocations: 11.98 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004383, allocations: 111.7 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004386, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.382e-06/0.004387, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.004396, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB 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.000494/0.00489, allocations: 286.1 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.004949, allocations: 12.03 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.004988, allocations: 34.73 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.005296, allocations: 28.86 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.00542, allocations: 113.7 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005434, allocations: 384 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.005473, allocations: 12.36 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.005672, allocations: 79.92 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005683, allocations: 192 / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.005698, allocations: 384 / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.005707, allocations: 4.125 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.0058, allocations: 31.97 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.005964, allocations: 124.8 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.006247, allocations: 70.47 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.006305, allocations: 32.88 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.006326, allocations: 0 / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.006352, allocations: 38.55 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006353, allocations: 0 / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.001805/0.008158, allocations: 0.4969 MB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.008191, allocations: 55.41 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.008246, allocations: 97.84 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.008263, allocations: 25.7 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.008292, allocations: 84.14 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.008326, allocations: 23.8 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.008372, allocations: 25.69 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.008471, allocations: 323 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.008553, allocations: 35.91 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.008622, allocations: 35.97 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.008782, allocations: 84.95 kB / 0.6225 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008784, allocations: 4 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002522/0.009036, allocations: 121.6 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.009053, allocations: 8 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.00906, allocations: 0 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.009078, allocations: 7.875 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.00919, allocations: 31.97 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.009199, allocations: 7.984 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.009256, allocations: 4 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.009269, allocations: 11.98 kB / 0.6227 GB, free: 8.734 MB / 0.5886 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 (7): * Single equations (assignments): 7 * 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.851e-05/0.009358, allocations: 106.8 kB / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.009375, allocations: 4 kB / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.009437, allocations: 12.12 kB / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.009439, allocations: 7.875 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.009445, allocations: 0 / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.009448, allocations: 0 / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.009577, allocations: 162.9 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.009579, allocations: 0 / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.009677, allocations: 23.97 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.00968, allocations: 4 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.009692, allocations: 0 / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.009695, allocations: 7.938 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.009697, allocations: 0 / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.01005, allocations: 192.9 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.01006, allocations: 8.094 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.01008, allocations: 0 / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.01016, allocations: 15.92 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.01017, allocations: 0 / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01019, allocations: 11.98 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.01022, allocations: 75.28 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001913/0.01041, allocations: 31.88 kB / 0.6233 GB, free: 8.012 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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.0006505/0.01106, allocations: 0.7452 MB / 0.624 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.01128, allocations: 91.97 kB / 0.6241 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01128, allocations: 0 / 0.6241 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.01136, allocations: 52.02 kB / 0.6242 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01157, allocations: 12.06 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.0129, allocations: 1.348 MB / 0.6255 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.01295, allocations: 65.69 kB / 0.6256 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.01305, allocations: 36.31 kB / 0.6256 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.01312, allocations: 20.48 kB / 0.6256 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.01312, allocations: 0 / 0.6256 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.03356, allocations: 3.212 MB / 0.6288 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.781, allocations: 8.25 kB / 0.6288 GB, free: 2.539 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.686320010572672] Failed to read output from testmodel.py, exit status != 0: 6.861145921982825 6.87285313 6.866616416 Calling exit ...