Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.0009821/0.0009821, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009975/0.0009975, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.103/1.103, allocations: 177.1 MB / 204.5 MB, free: 5.5 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-535:34: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-535:42: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.8184/0.8184, allocations: 154.9 MB / 415.9 MB, free: 260 kB / 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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.631e-05, allocations: 4.141 kB / 0.5219 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001927/0.001953, allocations: 1.335 MB / 0.5232 GB, free: 192 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002981, allocations: 0.6366 MB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.003008, allocations: 0 / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.003031, allocations: 4.5 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.003078, allocations: 4.906 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.003529, allocations: 117 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.003589, allocations: 27.86 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.00363, allocations: 3.984 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.003665, allocations: 15.98 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.003725, allocations: 4.938 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.003737, allocations: 0 / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.003944, allocations: 141.1 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.003961, allocations: 11.97 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.003977, allocations: 8 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.004156, allocations: 123.5 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004158, allocations: 1.156 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004159, allocations: 0 / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.004163, allocations: 0 / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003529/0.004515, allocations: 376.8 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004549, allocations: 13.31 kB / 0.5247 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.004808, allocations: 34.27 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.233e-05/0.004891, allocations: 108.6 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004902, allocations: 0.9062 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.004921, allocations: 0.875 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005056, allocations: 98.44 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.005064, allocations: 192 / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.005072, allocations: 384 / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.005079, allocations: 4.375 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.005113, allocations: 25.48 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.005239, allocations: 101.2 kB / 0.525 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.005409, allocations: 62.33 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.005435, allocations: 19.77 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.005452, allocations: 7.938 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.005482, allocations: 33.39 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.005484, allocations: 0 / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001482/0.006966, allocations: 434.1 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.006993, allocations: 55.41 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.007072, allocations: 154.9 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.007088, allocations: 29.7 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.007128, allocations: 128 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.007164, allocations: 27.77 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.007211, allocations: 27.36 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.007344, allocations: 0.4928 MB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.007388, allocations: 28.47 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.007422, allocations: 22.14 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/0.007502, allocations: 55.66 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007504, allocations: 4 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.007646, allocations: 99.98 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.007657, allocations: 8 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007662, allocations: 0 / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-06/0.007668, allocations: 0 / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.00777, allocations: 19.97 kB / 0.5267 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007774, allocations: 6.156 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.007827, allocations: 7.938 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.007838, allocations: 7.984 kB / 0.5267 GB, free: 12.44 MB / 0.4948 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 (7): * Single equations (assignments): 7 * 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 7.752e-05/0.007916, allocations: 160.6 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.007937, allocations: 5.031 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.007979, allocations: 18.56 kB / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00798, allocations: 0 / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007982, allocations: 0 / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.007986, allocations: 7.875 kB / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.008095, allocations: 116.8 kB / 0.527 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.008098, allocations: 3.984 kB / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.008192, allocations: 20.61 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008195, allocations: 0 / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.008207, allocations: 4.828 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008208, allocations: 0 / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.00821, allocations: 1.344 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.00842, allocations: 156.3 kB / 0.5272 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.008426, allocations: 5.078 kB / 0.5272 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.008442, allocations: 4 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.008509, allocations: 12.7 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.00852, allocations: 3.938 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.008532, allocations: 8.906 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.008566, allocations: 124.2 kB / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008566, allocations: 0 / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001822/0.008749, allocations: 32.81 kB / 0.5273 GB, free: 11.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001562/0.008905, allocations: 132 kB / 0.5275 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009031, allocations: 76.36 kB / 0.5275 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009033, allocations: 2.438 kB / 0.5275 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.009079, allocations: 43.59 kB / 0.5276 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.009217, allocations: 20.17 kB / 0.5276 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.009697, allocations: 157 kB / 0.5277 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.009734, allocations: 59.34 kB / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000113/0.009847, allocations: 30.73 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.00996, allocations: 90.17 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.00996, allocations: 2.156 kB / 0.5279 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003469/0.01343, allocations: 1.836 MB / 0.5297 GB, free: 9.363 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8685383540578187]