Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001773/0.001773, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002154/0.002154, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.6/1.6, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002482/0.002482, allocations: 286.2 kB / 309.8 MB, free: 3.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.109/1.109, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 99.86 kB / 0.7347 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6072, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002592/0.6098, allocations: 1.315 MB / 0.8291 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.6107, allocations: 0.5816 MB / 0.8296 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.6108, allocations: 0 / 0.8296 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.6108, allocations: 5.344 kB / 0.8296 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.6108, allocations: 7.484 kB / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.6113, allocations: 88.73 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.6113, allocations: 24.36 kB / 0.8298 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.6114, allocations: 4.797 kB / 0.8298 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.6114, allocations: 13.5 kB / 0.8298 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.6115, allocations: 3.422 kB / 0.8298 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.6115, allocations: 2.438 kB / 0.8298 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.6118, allocations: 148.8 kB / 0.8299 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.6118, allocations: 0.5625 kB / 0.8299 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.6118, allocations: 12.19 kB / 0.8299 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.612, allocations: 95.5 kB / 0.83 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.612, allocations: 0 / 0.83 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.612, allocations: 0.875 kB / 0.83 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.612, allocations: 0 / 0.83 GB, free: 1.582 MB / 0.5762 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.0003716/0.6124, allocations: 348.3 kB / 0.8304 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6125, allocations: 10.22 kB / 0.8304 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.429e-05/0.6125, allocations: 192 / 0.8304 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.931e-05/0.6125, allocations: 35.55 kB / 0.8304 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.613, allocations: 29.98 kB / 0.8304 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.903e-05/0.613, allocations: 169.8 kB / 0.8306 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6131, allocations: 4.375 kB / 0.8306 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.6131, allocations: 3.406 kB / 0.8306 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.6132, allocations: 55.12 kB / 0.8306 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.6133, allocations: 0 / 0.8306 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6133, allocations: 0 / 0.8306 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.6133, allocations: 2.594 kB / 0.8307 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.6134, allocations: 20.86 kB / 0.8307 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.6136, allocations: 158.1 kB / 0.8308 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.6137, allocations: 39.61 kB / 0.8309 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.6138, allocations: 22.47 kB / 0.8309 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.6138, allocations: 0 / 0.8309 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.6138, allocations: 44.59 kB / 0.8309 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6138, allocations: 0 / 0.8309 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003247/0.6142, allocations: 71.69 kB / 0.831 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.6142, allocations: 55.12 kB / 0.831 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.6143, allocations: 98.53 kB / 0.8311 GB, free: 428 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.6143, allocations: 29.83 kB / 0.8312 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.683e-05/0.6143, allocations: 80.14 kB / 0.8312 GB, free: 308 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.6143, allocations: 11.19 kB / 0.8313 GB, free: 300 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.6143, allocations: 13.66 kB / 0.8313 GB, free: 284 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.6144, allocations: 316.8 kB / 0.8316 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.6145, allocations: 9.281 kB / 0.8316 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.6146, allocations: 22.05 kB / 0.8316 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.6147, allocations: 29.7 kB / 0.8316 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6147, allocations: 0 / 0.8316 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.6149, allocations: 62.17 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6149, allocations: 10.31 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6149, allocations: 4.891 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6149, allocations: 0 / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6151, allocations: 7.375 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6151, allocations: 1.125 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.6151, allocations: 3.547 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6151, allocations: 1.594 kB / 0.8317 GB, free: 15.89 MB / 0.5919 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 0.0001044/0.6152, allocations: 108.6 kB / 0.8318 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.6153, allocations: 12.53 kB / 0.8318 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.6153, allocations: 8.828 kB / 0.8318 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6153, allocations: 0 / 0.8318 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6153, allocations: 2.406 kB / 0.8318 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6153, allocations: 0.6094 kB / 0.8318 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.6155, allocations: 153.6 kB / 0.832 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6155, allocations: 0 / 0.832 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.6156, allocations: 9.906 kB / 0.832 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.6156, allocations: 3.938 kB / 0.832 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6156, allocations: 5.219 kB / 0.832 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6156, allocations: 0.5156 kB / 0.832 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6156, allocations: 2.562 kB / 0.832 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.6158, allocations: 81.3 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.6159, allocations: 91.61 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.6159, allocations: 4.547 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.616, allocations: 7.719 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.616, allocations: 3.078 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.616, allocations: 1.031 kB / 0.8322 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.6161, allocations: 84.08 kB / 0.8323 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6161, allocations: 3.938 kB / 0.8323 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002128/0.6163, allocations: 10.61 kB / 0.8323 GB, free: 15.29 MB / 0.5919 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.0006339/0.6169, allocations: 0.6361 MB / 0.8329 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.6171, allocations: 27.28 kB / 0.8329 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.6171, allocations: 4.094 kB / 0.8329 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.909e-05/0.6172, allocations: 16.58 kB / 0.8329 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.6175, allocations: 10 kB / 0.833 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.618, allocations: 142.4 kB / 0.8331 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.6183, allocations: 0.6737 MB / 0.8338 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.6184, allocations: 13.97 kB / 0.8338 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.6184, allocations: 9.312 kB / 0.8338 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6184, allocations: 0 / 0.8338 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.6371, allocations: 1.654 MB / 0.8354 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.711, allocations: 7.938 kB / 0.8354 GB, free: 13.43 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.992431054008193] Failed to read output from testmodel.py, exit status != 0: 8.83616531000007 8.86519436 8.247480252 Calling exit ...