Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000797/0.000797, allocations: 72.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.0007923/0.0007923, allocations: 177.9 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.8767/0.8767, allocations: 177.1 MB / 203.5 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.7384/0.7384, allocations: 154.5 MB / 414.5 MB, free: 0.8516 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.6192 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.024e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00231/0.00234, allocations: 1.279 MB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.00542, allocations: 2.371 MB / 0.6228 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.005461, allocations: 0 / 0.6228 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.005483, allocations: 4 kB / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.005539, allocations: 7.922 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.006256, allocations: 131.3 kB / 0.6229 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9e-05/0.006346, allocations: 39.84 kB / 0.623 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.006387, allocations: 4 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.00646, allocations: 31.84 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.006529, allocations: 11.97 kB / 0.623 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.006544, allocations: 8 kB / 0.623 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.006842, allocations: 103.7 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.00686, allocations: 3.984 kB / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.006894, allocations: 19.92 kB / 0.6232 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.007106, allocations: 83.77 kB / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007107, allocations: 0 / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.452e-06/0.007109, allocations: 0 / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.007113, allocations: 0 / 0.6232 GB, free: 9.031 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.0004127/0.007526, allocations: 278.2 kB / 0.6235 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.007569, allocations: 9.469 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.007764, allocations: 20.88 kB / 0.6235 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.007857, allocations: 105.8 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.007873, allocations: 4.375 kB / 0.6236 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.0079, allocations: 4.375 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.008081, allocations: 149.9 kB / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.008093, allocations: 4.188 kB / 0.6238 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.008107, allocations: 8.109 kB / 0.6238 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.008113, allocations: 0 / 0.6238 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.008159, allocations: 15.98 kB / 0.6238 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.008705, allocations: 384.9 kB / 0.6242 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.008844, allocations: 67.88 kB / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.008875, allocations: 30.52 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.00889, allocations: 3.938 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.008915, allocations: 34.56 kB / 0.6243 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.008916, allocations: 0 / 0.6243 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005844/0.0095, allocations: 229 kB / 0.6245 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.009557, allocations: 114.9 kB / 0.6246 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.009622, allocations: 101.9 kB / 0.6247 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.009637, allocations: 29.69 kB / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.009679, allocations: 84.09 kB / 0.6248 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.0097, allocations: 27.75 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.009743, allocations: 29.7 kB / 0.6249 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.009845, allocations: 314.8 kB / 0.6252 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.009871, allocations: 11.98 kB / 0.6252 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.009921, allocations: 60.31 kB / 0.6253 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01012, allocations: 69.09 kB / 0.6253 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01012, allocations: 4.062 kB / 0.6253 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.01026, allocations: 102 kB / 0.6254 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01027, allocations: 4 kB / 0.6254 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01028, allocations: 4 kB / 0.6254 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.0103, allocations: 0 / 0.6254 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.01037, allocations: 27.92 kB / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.01037, allocations: 4 kB / 0.6255 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.01041, allocations: 4.125 kB / 0.6255 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.01041, allocations: 4 kB / 0.6255 GB, free: 6.434 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 7.511e-05/0.01049, allocations: 118.8 kB / 0.6256 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.01055, allocations: 15.92 kB / 0.6256 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.01057, allocations: 7.812 kB / 0.6256 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.01058, allocations: 7.984 kB / 0.6256 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01058, allocations: 0 / 0.6256 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01059, allocations: 3.938 kB / 0.6256 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.01088, allocations: 125.2 kB / 0.6257 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01089, allocations: 4 kB / 0.6257 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.01096, allocations: 23.94 kB / 0.6258 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01096, allocations: 3.984 kB / 0.6258 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01097, allocations: 4 kB / 0.6258 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01097, allocations: 0 / 0.6258 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01097, allocations: 0 / 0.6258 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.0112, allocations: 318 kB / 0.6261 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.01124, allocations: 15.92 kB / 0.6261 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01125, allocations: 4 kB / 0.6261 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.0114, allocations: 4 kB / 0.6261 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.01142, allocations: 7.984 kB / 0.6261 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.01143, allocations: 8 kB / 0.6261 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.01146, allocations: 75.28 kB / 0.6262 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01146, allocations: 0 / 0.6262 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003501/0.01181, allocations: 19.94 kB / 0.6262 GB, free: 5.625 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.0001395/0.01195, allocations: 107.2 kB / 0.6263 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.01207, allocations: 43.84 kB / 0.6264 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01207, allocations: 256 / 0.6264 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.0121, allocations: 23.94 kB / 0.6264 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.01255, allocations: 17.95 kB / 0.6264 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.01306, allocations: 284.7 kB / 0.6267 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.01312, allocations: 75.28 kB / 0.6267 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.01315, allocations: 12.5 kB / 0.6267 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/0.01315, allocations: 0 / 0.6267 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of Templates: time 0.001681/0.01483, allocations: 0.8181 MB / 0.6275 GB, free: 4.191 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.070694353431463] Failed to read output from testmodel.py, exit status != 0: 0.02068282850086689 0.027712369 0.018917364000000002 Calling exit ...