Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.0008067/0.0008067, 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.001054/0.001054, allocations: 165.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.9151/0.9151, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7474/0.7474, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.618 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.719e-05, allocations: 6.281 kB / 0.618 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002421/0.002448, allocations: 1.298 MB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.003347, allocations: 0.5336 MB / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.00337, allocations: 0 / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.003393, allocations: 3.938 kB / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.003447, allocations: 11.91 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.00387, allocations: 95.45 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.003942, allocations: 27.86 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.003985, allocations: 7.969 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.00404, allocations: 7.938 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.004088, allocations: 7.984 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.004101, allocations: 0 / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.004361, allocations: 135.7 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.004378, allocations: 11.94 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.004398, allocations: 4 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.004607, allocations: 99.73 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00461, allocations: 4 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00461, allocations: 0 / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004614, allocations: 4 kB / 0.6202 GB, free: 11.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003632/0.004977, allocations: 270.1 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.005025, allocations: 13.47 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.00506, allocations: 34.75 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.005431, allocations: 32.84 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.005525, allocations: 109.8 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005537, allocations: 384 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.005548, allocations: 4.375 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.005694, allocations: 50.16 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005702, allocations: 192 / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005714, allocations: 8.375 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.00572, allocations: 4.125 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.005821, allocations: 15.98 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.005975, allocations: 128.8 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.006097, allocations: 42.58 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.00615, allocations: 16.91 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.006171, allocations: 4 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.006195, allocations: 38.5 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006196, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002676/0.006464, allocations: 69.66 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.006502, allocations: 59.34 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.006565, allocations: 97.8 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006578, allocations: 25.7 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.006607, allocations: 80.14 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.006635, allocations: 11.94 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.006673, allocations: 13.72 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.006768, allocations: 310.8 kB / 0.6216 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.006823, allocations: 20.11 kB / 0.6216 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.006866, allocations: 7.984 kB / 0.6216 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.006964, allocations: 36.78 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006966, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001403/0.007107, allocations: 53.77 kB / 0.6217 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.007124, allocations: 15.98 kB / 0.6217 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007129, allocations: 0 / 0.6217 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007142, allocations: 3.938 kB / 0.6217 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.007262, allocations: 7.938 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.007268, allocations: 3.984 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.007308, allocations: 7.953 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.007316, allocations: 0 / 0.6218 GB, free: 9.613 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 6.617e-05/0.007382, allocations: 110.8 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.007393, allocations: 4 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.007432, allocations: 7.312 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007434, allocations: 0 / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.007441, allocations: 11.86 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007444, allocations: 0 / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.007538, allocations: 120.8 kB / 0.622 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007539, allocations: 4 kB / 0.622 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.007593, allocations: 7.984 kB / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.007595, allocations: 0 / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.007605, allocations: 7.984 kB / 0.622 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.007608, allocations: 4 kB / 0.622 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.007612, allocations: 3.938 kB / 0.622 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.007769, allocations: 81.11 kB / 0.6221 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.007813, allocations: 12.11 kB / 0.6221 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.007827, allocations: 0 / 0.6221 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.007866, allocations: 7.984 kB / 0.6221 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.007879, allocations: 3.938 kB / 0.6221 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007885, allocations: 8.016 kB / 0.6221 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.007917, allocations: 83.28 kB / 0.6222 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.007917, allocations: 0 / 0.6222 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002382/0.008155, allocations: 11.94 kB / 0.6222 GB, free: 9.059 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.0004502/0.008606, allocations: 0.628 MB / 0.6228 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.00875, allocations: 32 kB / 0.6229 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008751, allocations: 3.938 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.008801, allocations: 19.92 kB / 0.6229 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.009028, allocations: 14.11 kB / 0.6229 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.009467, allocations: 154.6 kB / 0.6231 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.00951, allocations: 55.36 kB / 0.6231 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.093e-05/0.009571, allocations: 11.98 kB / 0.6231 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.009613, allocations: 12.48 kB / 0.6231 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of SimCode: time 7.52e-07/0.009614, allocations: 0 / 0.6231 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.03167, allocations: 2.269 MB / 0.6253 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.804, allocations: 5.359 kB / 0.6254 GB, free: 5.945 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.754077099263668] Failed to read output from testmodel.py, exit status != 0: 6.883947773836553 6.891852067 6.885556192 Calling exit ...