Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.0008607/0.0008607, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009019/0.0009019, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9812/0.9812, allocations: 177.2 MB / 202.8 MB, free: 5.543 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.7318/0.7318, allocations: 154.6 MB / 413.8 MB, free: 0.7422 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.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.903e-06/6.903e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.567e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001941/0.001976, allocations: 1.431 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.002725, allocations: 0.5608 MB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.002753, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.002781, allocations: 0 / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.002844, allocations: 7.922 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.003258, allocations: 107.4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.003324, allocations: 23.86 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.003416, allocations: 4 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.003467, allocations: 11.98 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.003509, allocations: 15.92 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.003521, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.003711, allocations: 139.8 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.003726, allocations: 4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.003746, allocations: 15.91 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.003925, allocations: 115.6 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.003928, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003929, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.003934, allocations: 0 / 0.6205 GB, free: 11.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000348/0.004282, allocations: 290 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.004321, allocations: 8.031 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.004348, allocations: 30.75 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.004616, allocations: 40.89 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.004696, allocations: 105.8 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.004707, allocations: 384 / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004717, allocations: 384 / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.00487, allocations: 66.2 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.004877, allocations: 4.188 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.004886, allocations: 384 / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004894, allocations: 8.125 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.005024, allocations: 51.88 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.00535, allocations: 244 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.005475, allocations: 66.48 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.005539, allocations: 28.89 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.00556, allocations: 3.984 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.005579, allocations: 38.5 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.00558, allocations: 0 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002914/0.005871, allocations: 113.5 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.005899, allocations: 55.41 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.005952, allocations: 101.8 kB / 0.6217 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.005966, allocations: 25.7 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.006, allocations: 84.14 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.006016, allocations: 7.891 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.006043, allocations: 17.84 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.006116, allocations: 318.8 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.006177, allocations: 27.97 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.006233, allocations: 23.97 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.006348, allocations: 60.81 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006349, allocations: 0 / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001436/0.006493, allocations: 93.56 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.006506, allocations: 6.5 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006511, allocations: 0 / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006522, allocations: 7.969 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.006593, allocations: 11.98 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006597, allocations: 0 / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.006633, allocations: 11.98 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.006639, allocations: 0 / 0.6223 GB, free: 9.141 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 (2): * Single equations (assignments): 2 * 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 5.914e-05/0.006698, allocations: 110.8 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.006715, allocations: 15.88 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.006756, allocations: 11.27 kB / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006758, allocations: 0 / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006762, allocations: 0 / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.006764, allocations: 0 / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.95e-05/0.006864, allocations: 132.8 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006865, allocations: 0 / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.006908, allocations: 16.11 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006911, allocations: 3.938 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.006921, allocations: 3.984 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006922, allocations: 8 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006924, allocations: 3.984 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.007102, allocations: 171.5 kB / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.007109, allocations: 11.92 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.00712, allocations: 0 / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.007172, allocations: 15.98 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.007201, allocations: 7.969 kB / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.007206, allocations: 4 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.007234, allocations: 75.28 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007234, allocations: 4 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001646/0.007398, allocations: 15.92 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004131/0.007811, allocations: 0.7319 MB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.007976, allocations: 55.94 kB / 0.6237 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007977, allocations: 0 / 0.6237 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.00804, allocations: 36.02 kB / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.008244, allocations: 12 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.008627, allocations: 154.5 kB / 0.6239 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.008668, allocations: 59.3 kB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.008709, allocations: 12 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.008746, allocations: 12.48 kB / 0.624 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.008746, allocations: 4 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.02296, allocations: 2.336 MB / 0.6262 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/6.621, allocations: 0 / 0.6262 GB, free: 5.125 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.601435848511755] Failed to read output from testmodel.py, exit status != 0: 6.701553317718208 6.717347984 6.710753758 Calling exit ...