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.0008082/0.0008082, 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.0008836/0.0008836, 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.932/0.932, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7667/0.7667, allocations: 154.6 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.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.465e-06/2.465e-06, allocations: 4 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.288e-05, allocations: 4.562 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001759/0.001782, allocations: 1.294 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.002587, allocations: 0.5336 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.002617, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.00264, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.002692, allocations: 7.875 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.003048, allocations: 99.44 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.003107, allocations: 27.8 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.003144, allocations: 0 / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.003188, allocations: 7.984 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.003227, allocations: 8 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.00324, allocations: 8 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.00343, allocations: 131.7 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.003441, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.003458, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.003623, allocations: 115.6 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003625, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003626, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.00363, allocations: 0 / 0.6202 GB, free: 11.48 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.0003009/0.003931, allocations: 266.1 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.003981, allocations: 13.47 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.004015, allocations: 38.75 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.004273, allocations: 36.84 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.004353, allocations: 105.8 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.004363, allocations: 384 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.004375, allocations: 384 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.004498, allocations: 50.22 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004505, allocations: 4.188 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004515, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004521, allocations: 4.125 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.004597, allocations: 27.91 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.004725, allocations: 120.8 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.004814, allocations: 38.58 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.004854, allocations: 24.91 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.004874, allocations: 0 / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.004895, allocations: 38.5 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004895, allocations: 0 / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.005104, allocations: 69.59 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.005137, allocations: 59.34 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.548e-05/0.005192, allocations: 97.97 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005204, allocations: 33.7 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.005227, allocations: 80.14 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.005252, allocations: 3.953 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.00528, allocations: 13.72 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.005371, allocations: 318.8 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.005404, allocations: 8 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.005432, allocations: 11.98 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.0055, allocations: 36.89 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005502, allocations: 0 / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.815e-05/0.00559, allocations: 65.55 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.005602, allocations: 8 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005607, allocations: 0 / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.005618, allocations: 0 / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.005681, allocations: 15.95 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005685, allocations: 0 / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.005712, allocations: 7.953 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005718, allocations: 0 / 0.6218 GB, free: 9.719 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.504e-05/0.005773, allocations: 106.8 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.00578, allocations: 7.984 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.005811, allocations: 3.312 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005813, allocations: 0 / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.005817, allocations: 7.938 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005819, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.541e-05/0.005895, allocations: 128.8 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005895, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.005924, allocations: 4 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.005927, allocations: 3.984 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.005934, allocations: 192 / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.005936, allocations: 7.938 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.005938, allocations: 3.938 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.006048, allocations: 89.09 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.006085, allocations: 7.984 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.006095, allocations: 0 / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.00612, allocations: 8 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.006132, allocations: 7.922 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.006135, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.278e-05/0.006158, allocations: 79.28 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006158, allocations: 3.938 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000135/0.006293, allocations: 15.94 kB / 0.6222 GB, free: 9.168 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.0003306/0.006624, allocations: 0.6358 MB / 0.6228 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.006729, allocations: 27.97 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00673, allocations: 0 / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.00676, allocations: 20.08 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.006948, allocations: 17.73 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.007333, allocations: 142.6 kB / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.007371, allocations: 59.34 kB / 0.6231 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.005e-05/0.007411, allocations: 16.05 kB / 0.6231 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.007444, allocations: 8.5 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/0.007445, allocations: 0 / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.02325, allocations: 2.276 MB / 0.6254 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.852, allocations: 4.078 kB / 0.6254 GB, free: 6.055 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.625551637262106] Failed to read output from testmodel.py, exit status != 0: 6.935132525861263 6.944530581 6.939140929 Calling exit ...