Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007733/0.0007733, allocations: 76.5 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.0007762/0.0007762, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6729/0.6729, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.591e-05, allocations: 9.016 kB / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001372/0.001388, allocations: 1.302 MB / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.002046, allocations: 0.6036 MB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.002064, allocations: 0 / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.00208, allocations: 7.938 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.002119, allocations: 3.938 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.002469, allocations: 107.5 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.493e-05/0.002524, allocations: 27.86 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.002558, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.002592, allocations: 19.91 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.002644, allocations: 11.98 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.002658, allocations: 4 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.002827, allocations: 135.7 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.00284, allocations: 3.938 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.002857, allocations: 11.97 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.003012, allocations: 111.7 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.003014, allocations: 8 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003015, allocations: 4 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.003018, allocations: 0 / 0.6217 GB, free: 10.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003304/0.003348, allocations: 278.1 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.003381, allocations: 12.03 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.00362, allocations: 32.84 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.406e-05/0.003684, allocations: 109.8 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.003693, allocations: 384 / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.003713, allocations: 4.375 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.003841, allocations: 83.92 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003847, allocations: 192 / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.003858, allocations: 4.359 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003863, allocations: 384 / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.003937, allocations: 35.84 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.004045, allocations: 113.2 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.004239, allocations: 66.58 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.004283, allocations: 24.94 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.004299, allocations: 0 / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.004315, allocations: 34.56 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 5.61e-07/0.004316, allocations: 0 / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.001558/0.005873, allocations: 0.5007 MB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.005898, allocations: 59.34 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.005938, allocations: 89.86 kB / 0.6231 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.005953, allocations: 29.7 kB / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.005977, allocations: 92.12 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.006004, allocations: 23.91 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.006043, allocations: 25.7 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.006111, allocations: 318.8 kB / 0.6235 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.006182, allocations: 35.97 kB / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.006247, allocations: 35.97 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.006392, allocations: 84.95 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.006392, allocations: 0 / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.006573, allocations: 125.5 kB / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.006583, allocations: 8 kB / 0.6238 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006587, allocations: 0 / 0.6238 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.006597, allocations: 4 kB / 0.6238 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.006688, allocations: 23.97 kB / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.006692, allocations: 7.875 kB / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.006746, allocations: 8 kB / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.006756, allocations: 3.984 kB / 0.6238 GB, free: 8.281 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 (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 5.375e-05/0.00681, allocations: 109.8 kB / 0.6239 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.006822, allocations: 0 / 0.6239 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.006861, allocations: 16.12 kB / 0.624 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.006864, allocations: 3.984 kB / 0.624 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.006869, allocations: 3.938 kB / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006872, allocations: 0 / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.316e-05/0.006955, allocations: 143.5 kB / 0.6241 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.006956, allocations: 4.062 kB / 0.6241 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.007047, allocations: 31.91 kB / 0.6241 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007049, allocations: 0 / 0.6241 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.007059, allocations: 3.984 kB / 0.6241 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00706, allocations: 0 / 0.6241 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007061, allocations: 3.938 kB / 0.6241 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.00735, allocations: 196.9 kB / 0.6243 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.007355, allocations: 0 / 0.6243 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.007369, allocations: 4.359 kB / 0.6243 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.007439, allocations: 7.984 kB / 0.6243 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.007452, allocations: 7.984 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.007459, allocations: 3.938 kB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.007481, allocations: 83.28 kB / 0.6244 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007481, allocations: 160 / 0.6244 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001582/0.007639, allocations: 35.92 kB / 0.6245 GB, free: 7.574 MB / 0.5886 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.0001378/0.007777, allocations: 127 kB / 0.6246 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.007964, allocations: 83.92 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007966, allocations: 0 / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.008039, allocations: 55.89 kB / 0.6247 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.00817, allocations: 4 kB / 0.6247 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.008519, allocations: 178.6 kB / 0.6249 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.008553, allocations: 67.3 kB / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.008613, allocations: 28.41 kB / 0.625 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.008614, allocations: 0 / 0.625 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of Templates: time 0.002218/0.01083, allocations: 1.594 MB / 0.6265 GB, free: 5.402 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9125420125201344] Failed to read output from testmodel.py, exit status != 0: 0.015367582440376282 0.022756582 0.017977046 Calling exit ...