Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008501/0.0008501, 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.001175/0.001175, 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.9313/0.9313, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7267/0.7267, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.618 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.634e-05, allocations: 2.281 kB / 0.618 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002031/0.002058, allocations: 1.427 MB / 0.6194 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.002974, allocations: 0.5646 MB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.003001, allocations: 0 / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.003027, allocations: 7.938 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.003075, allocations: 0 / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.003455, allocations: 103.4 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.003517, allocations: 27.86 kB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.003613, allocations: 7.984 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.003664, allocations: 15.98 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.003705, allocations: 8 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.003719, allocations: 0 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.003915, allocations: 139.7 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.003932, allocations: 11.98 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.003949, allocations: 0 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.00413, allocations: 119.7 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004132, allocations: 0 / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004132, allocations: 0 / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004137, allocations: 0 / 0.6204 GB, free: 11.14 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.0003919/0.004529, allocations: 282.1 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.004573, allocations: 17.47 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.004605, allocations: 34.75 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.004907, allocations: 36.89 kB / 0.6207 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.005025, allocations: 105.7 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.005038, allocations: 384 / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.005054, allocations: 4.375 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.00525, allocations: 66.2 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.005261, allocations: 192 / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.005276, allocations: 4.375 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.005285, allocations: 4.125 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.005439, allocations: 55.92 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.005895, allocations: 247.9 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.006054, allocations: 62.47 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.006124, allocations: 32.89 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.006148, allocations: 0 / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.006175, allocations: 34.5 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.006176, allocations: 8 kB / 0.6213 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/0.006532, allocations: 117.5 kB / 0.6214 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.006573, allocations: 51.41 kB / 0.6215 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.006647, allocations: 97.84 kB / 0.6216 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.006664, allocations: 25.83 kB / 0.6216 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.006707, allocations: 92.14 kB / 0.6217 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.006728, allocations: 7.938 kB / 0.6217 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.006763, allocations: 17.7 kB / 0.6217 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.006852, allocations: 314.8 kB / 0.622 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.006918, allocations: 27.97 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.006974, allocations: 23.97 kB / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.007096, allocations: 60.86 kB / 0.6221 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007098, allocations: 0 / 0.6221 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001531/0.007251, allocations: 89.52 kB / 0.6222 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.007266, allocations: 13.75 kB / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.007278, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.007293, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.007376, allocations: 15.97 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.00738, allocations: 0 / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.007417, allocations: 4 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.007426, allocations: 3.984 kB / 0.6223 GB, free: 9.027 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.149e-05/0.007487, allocations: 114.8 kB / 0.6224 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.007502, allocations: 11.89 kB / 0.6224 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.007543, allocations: 7.312 kB / 0.6224 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007545, allocations: 0 / 0.6224 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.00755, allocations: 0 / 0.6224 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007553, allocations: 0 / 0.6224 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.007688, allocations: 132.8 kB / 0.6225 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007689, allocations: 3.938 kB / 0.6225 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.007734, allocations: 15.97 kB / 0.6225 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007737, allocations: 7.938 kB / 0.6225 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007745, allocations: 0 / 0.6225 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007746, allocations: 4 kB / 0.6225 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007747, allocations: 0 / 0.6225 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.00795, allocations: 183.4 kB / 0.6227 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.007958, allocations: 3.938 kB / 0.6227 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.007971, allocations: 0 / 0.6227 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.008025, allocations: 20.02 kB / 0.6227 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.008063, allocations: 0 / 0.6227 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.008068, allocations: 3.984 kB / 0.6227 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.008098, allocations: 79.28 kB / 0.6228 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008098, allocations: 0 / 0.6228 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001868/0.008284, allocations: 15.94 kB / 0.6228 GB, free: 8.363 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.0005985/0.008883, allocations: 0.7434 MB / 0.6236 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.009074, allocations: 55.94 kB / 0.6236 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009075, allocations: 0 / 0.6236 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/0.009143, allocations: 36.06 kB / 0.6236 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.009385, allocations: 0 / 0.6236 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.009876, allocations: 158.5 kB / 0.6238 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.077e-05/0.009937, allocations: 59.34 kB / 0.6239 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.009985, allocations: 16.05 kB / 0.6239 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.01003, allocations: 8.5 kB / 0.6239 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.01003, allocations: 0 / 0.6239 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02709, allocations: 2.336 MB / 0.6262 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/6.971, allocations: 10.98 kB / 0.6262 GB, free: 5.012 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.737662537954748] Failed to read output from testmodel.py, exit status != 0: 7.051954188384116 7.062968582 7.056779476 Calling exit ...