Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007661/0.0007661, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007678/0.0007678, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8323/0.8323, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6755/0.6755, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.809e-05, allocations: 9.234 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001688/0.001706, allocations: 1.305 MB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.002338, allocations: 0.5335 MB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.002359, allocations: 0 / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.002378, allocations: 3.938 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.00242, allocations: 11.92 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.002748, allocations: 103.4 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.045e-05/0.002799, allocations: 15.88 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.002832, allocations: 4 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.002877, allocations: 15.97 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.002921, allocations: 7.938 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.002932, allocations: 0 / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.003119, allocations: 135.7 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.00313, allocations: 0 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.003147, allocations: 7.938 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003303, allocations: 107.7 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003305, allocations: 4 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003305, allocations: 0 / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003309, allocations: 0 / 0.6215 GB, free: 10.9 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.0002775/0.003586, allocations: 266.2 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.003617, allocations: 8.031 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.003885, allocations: 40.84 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.543e-05/0.003951, allocations: 105.8 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.00396, allocations: 4.375 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.003968, allocations: 4.375 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.004076, allocations: 54.16 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.004083, allocations: 192 / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.004093, allocations: 384 / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004097, allocations: 8.25 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.072e-05/0.004167, allocations: 27.91 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.004279, allocations: 101.3 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.004366, allocations: 46.58 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.004403, allocations: 16.91 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.00442, allocations: 0 / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.004439, allocations: 38.5 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.00444, allocations: 0 / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.004624, allocations: 73.66 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.004649, allocations: 51.41 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.004701, allocations: 97.8 kB / 0.6224 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.004712, allocations: 25.7 kB / 0.6225 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.004735, allocations: 88.12 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.004756, allocations: 7.891 kB / 0.6225 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.004783, allocations: 13.72 kB / 0.6226 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.004856, allocations: 310.8 kB / 0.6229 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.004894, allocations: 20.11 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.004923, allocations: 11.98 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.664e-05/0.004989, allocations: 32.78 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004991, allocations: 0 / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.296e-05/0.005084, allocations: 65.72 kB / 0.623 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.005095, allocations: 5.875 kB / 0.623 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005099, allocations: 0 / 0.623 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.005109, allocations: 0 / 0.623 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.005165, allocations: 7.984 kB / 0.623 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.005169, allocations: 0 / 0.623 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.005194, allocations: 7.938 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.0052, allocations: 0 / 0.623 GB, free: 9.219 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 5e-05/0.00525, allocations: 114.8 kB / 0.6231 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.005257, allocations: 7.984 kB / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.005288, allocations: 15.19 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00529, allocations: 0 / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.005294, allocations: 4 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.005298, allocations: 3.938 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.713e-05/0.005355, allocations: 105.3 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005356, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.005383, allocations: 7.984 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005384, allocations: 4 kB / 0.6233 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005391, allocations: 4 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005392, allocations: 3.984 kB / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005393, allocations: 4 kB / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.005497, allocations: 85.05 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.005528, allocations: 7.922 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.005538, allocations: 0 / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.005559, allocations: 4.188 kB / 0.6234 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.00557, allocations: 4.031 kB / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.005574, allocations: 3.984 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.499e-05/0.005599, allocations: 91.2 kB / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005599, allocations: 0 / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001435/0.005743, allocations: 19.88 kB / 0.6235 GB, free: 8.68 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.0001038/0.005846, allocations: 103.2 kB / 0.6236 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.005949, allocations: 31.97 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00595, allocations: 0 / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.005979, allocations: 15.98 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.006109, allocations: 4 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.006346, allocations: 138.5 kB / 0.6237 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.006378, allocations: 55.36 kB / 0.6238 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.006407, allocations: 20.61 kB / 0.6238 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.006407, allocations: 0 / 0.6238 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of Templates: time 0.001492/0.007899, allocations: 0.7942 MB / 0.6246 GB, free: 7.473 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.936028674244881] Failed to read output from testmodel.py, exit status != 0: 0.011914268136024475 0.020248737000000003 0.015325702000000002 Calling exit ...