Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.0009611/0.0009611, 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.0009427/0.0009427, 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.8904/0.8904, 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.7573/0.7573, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.779e-05/4.039e-05, allocations: 6.234 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002034/0.002074, allocations: 1.282 MB / 0.6206 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.004281, allocations: 2.371 MB / 0.6229 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.004319, allocations: 4 kB / 0.6229 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.004339, allocations: 3.938 kB / 0.6229 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.004389, allocations: 3.984 kB / 0.6229 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.004992, allocations: 127.3 kB / 0.623 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.005075, allocations: 43.84 kB / 0.6231 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.005114, allocations: 0 / 0.6231 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.005178, allocations: 27.95 kB / 0.6231 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.005248, allocations: 15.92 kB / 0.6231 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.005261, allocations: 0 / 0.6231 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.005492, allocations: 107.7 kB / 0.6232 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.005507, allocations: 11.92 kB / 0.6232 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.005531, allocations: 8 kB / 0.6232 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.005717, allocations: 83.77 kB / 0.6233 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00572, allocations: 0 / 0.6233 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.264e-06/0.005722, allocations: 7.984 kB / 0.6233 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.005727, allocations: 0 / 0.6233 GB, free: 9.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003445/0.006071, allocations: 276.5 kB / 0.6236 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.00611, allocations: 8.031 kB / 0.6236 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.006267, allocations: 24.81 kB / 0.6236 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.364e-05/0.00634, allocations: 105.8 kB / 0.6237 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.006353, allocations: 4.375 kB / 0.6237 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.006375, allocations: 384 / 0.6237 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.006521, allocations: 149.9 kB / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.006528, allocations: 192 / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006541, allocations: 12.12 kB / 0.6239 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006547, allocations: 4 kB / 0.6239 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.006585, allocations: 15.91 kB / 0.6239 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.007001, allocations: 377 kB / 0.6242 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.007103, allocations: 75.69 kB / 0.6243 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.007127, allocations: 22.7 kB / 0.6243 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.007138, allocations: 3.938 kB / 0.6243 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.00716, allocations: 34.56 kB / 0.6244 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.007161, allocations: 0 / 0.6244 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004678/0.007629, allocations: 233 kB / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.007673, allocations: 106.8 kB / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.272e-05/0.007726, allocations: 101.8 kB / 0.6248 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.00774, allocations: 25.7 kB / 0.6248 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.007778, allocations: 96.08 kB / 0.6249 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.007795, allocations: 27.75 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.007825, allocations: 25.7 kB / 0.625 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.007902, allocations: 322.7 kB / 0.6253 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.007923, allocations: 24.17 kB / 0.6253 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.007959, allocations: 52.2 kB / 0.6253 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.008022, allocations: 69.09 kB / 0.6254 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008023, allocations: 0 / 0.6254 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.16e-05/0.008115, allocations: 101.4 kB / 0.6255 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.008128, allocations: 8 kB / 0.6255 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008133, allocations: 4.125 kB / 0.6255 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.008149, allocations: 4.609 kB / 0.6255 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.008203, allocations: 23.92 kB / 0.6255 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.008208, allocations: 0 / 0.6255 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.00823, allocations: 4 kB / 0.6255 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.008237, allocations: 8 kB / 0.6255 GB, free: 6.48 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.049e-05/0.008297, allocations: 110.8 kB / 0.6257 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.008329, allocations: 15.89 kB / 0.6257 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.008353, allocations: 11.86 kB / 0.6257 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-06/0.008358, allocations: 7.984 kB / 0.6257 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008363, allocations: 8 kB / 0.6257 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008366, allocations: 0 / 0.6257 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.008554, allocations: 125.2 kB / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008555, allocations: 0 / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.008602, allocations: 19.92 kB / 0.6258 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.008604, allocations: 4 kB / 0.6258 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.008611, allocations: 0 / 0.6258 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008612, allocations: 0 / 0.6258 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.008614, allocations: 4 kB / 0.6258 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.008786, allocations: 326.1 kB / 0.6262 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.008815, allocations: 15.89 kB / 0.6262 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.008826, allocations: 4 kB / 0.6262 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.008918, allocations: 4 kB / 0.6262 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.008935, allocations: 7.922 kB / 0.6262 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.008941, allocations: 4 kB / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.008966, allocations: 83.28 kB / 0.6263 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.008966, allocations: 0 / 0.6263 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002033/0.00917, allocations: 8 kB / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.0001002/0.00927, allocations: 111.2 kB / 0.6264 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.455e-05/0.009364, allocations: 51.86 kB / 0.6264 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.009366, allocations: 0 / 0.6264 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.00938, allocations: 12 kB / 0.6264 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.009678, allocations: 15.92 kB / 0.6265 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.0101, allocations: 296.8 kB / 0.6267 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.814e-05/0.01016, allocations: 71.28 kB / 0.6268 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.01018, allocations: 12.5 kB / 0.6268 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01018, allocations: 0 / 0.6268 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of Templates: time 0.001599/0.01178, allocations: 0.8224 MB / 0.6276 GB, free: 4.238 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.376864600926638] Failed to read output from testmodel.py, exit status != 0: 0.016804629005491734 0.023783062 0.016415381 Calling exit ...