Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.0007523/0.0007523, 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.0007349/0.0007349, allocations: 177.9 kB / 23.21 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.8561/0.8561, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.701/0.701, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.476e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001783/0.001808, allocations: 1.272 MB / 0.6205 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.00443, allocations: 3.075 MB / 0.6235 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.004462, allocations: 4 kB / 0.6235 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.004479, allocations: 3.938 kB / 0.6235 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.004521, allocations: 0 / 0.6235 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.005019, allocations: 115.4 kB / 0.6236 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.359e-05/0.005093, allocations: 35.84 kB / 0.6237 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.005132, allocations: 8 kB / 0.6237 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.005188, allocations: 27.91 kB / 0.6237 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.005241, allocations: 11.92 kB / 0.6237 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.005254, allocations: 4 kB / 0.6237 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.005426, allocations: 71.73 kB / 0.6238 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.005439, allocations: 11.98 kB / 0.6238 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.00546, allocations: 15.94 kB / 0.6238 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.005608, allocations: 67.84 kB / 0.6239 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00561, allocations: 0 / 0.6239 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005611, allocations: 0 / 0.6239 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.005615, allocations: 3.938 kB / 0.6239 GB, free: 8.5 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.0003105/0.005926, allocations: 270.3 kB / 0.6242 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00596, allocations: 12.03 kB / 0.6242 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.739e-05/0.006047, allocations: 8.891 kB / 0.6242 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.59e-05/0.006113, allocations: 101.8 kB / 0.6243 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.006125, allocations: 8.375 kB / 0.6243 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.006147, allocations: 4.375 kB / 0.6243 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006278, allocations: 127.3 kB / 0.6244 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006285, allocations: 8.125 kB / 0.6244 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.006296, allocations: 4.125 kB / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006301, allocations: 0 / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.006345, allocations: 27.89 kB / 0.6244 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.006459, allocations: 109.3 kB / 0.6245 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.006533, allocations: 46.56 kB / 0.6246 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.006558, allocations: 20.84 kB / 0.6246 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.006999, allocations: 249.8 kB / 0.6248 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.007021, allocations: 30.56 kB / 0.6249 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.007022, allocations: 0 / 0.6249 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004362/0.007458, allocations: 229.8 kB / 0.6251 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.007489, allocations: 55.39 kB / 0.6251 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/0.007543, allocations: 97.86 kB / 0.6252 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.007553, allocations: 25.7 kB / 0.6253 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.007589, allocations: 92.09 kB / 0.6254 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.007604, allocations: 27.73 kB / 0.6254 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.007635, allocations: 25.72 kB / 0.6254 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.007712, allocations: 322.8 kB / 0.6257 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.007733, allocations: 12.06 kB / 0.6257 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.925e-05/0.007772, allocations: 53.14 kB / 0.6258 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.007838, allocations: 81.19 kB / 0.6259 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007839, allocations: 3.938 kB / 0.6259 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.938e-05/0.007939, allocations: 101.5 kB / 0.626 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.007951, allocations: 11.94 kB / 0.626 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007957, allocations: 0 / 0.626 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.007968, allocations: 3.938 kB / 0.626 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.008017, allocations: 20 kB / 0.626 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008023, allocations: 3.984 kB / 0.626 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.008044, allocations: 4 kB / 0.626 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.00805, allocations: 4 kB / 0.626 GB, free: 6.07 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.042e-05/0.008111, allocations: 122.7 kB / 0.6261 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.008125, allocations: 4.125 kB / 0.6261 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.008146, allocations: 8.125 kB / 0.6261 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008148, allocations: 4 kB / 0.6261 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.008152, allocations: 0 / 0.6261 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.008154, allocations: 0 / 0.6261 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.008291, allocations: 125.2 kB / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.008293, allocations: 0 / 0.6262 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.008337, allocations: 15.98 kB / 0.6263 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008338, allocations: 0 / 0.6263 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.008343, allocations: 0 / 0.6263 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.008344, allocations: 4 kB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.008345, allocations: 4 kB / 0.6263 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008482, allocations: 179.3 kB / 0.6264 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.008503, allocations: 4 kB / 0.6264 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.008514, allocations: 4.031 kB / 0.6265 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.008567, allocations: 4 kB / 0.6265 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.008582, allocations: 4 kB / 0.6265 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.008587, allocations: 4 kB / 0.6265 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.008613, allocations: 83.27 kB / 0.6265 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008613, allocations: 0 / 0.6265 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001614/0.008775, allocations: 12 kB / 0.6266 GB, free: 5.445 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.008875, allocations: 99.25 kB / 0.6266 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.008968, allocations: 40.25 kB / 0.6267 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.00897, allocations: 0 / 0.6267 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.008987, allocations: 20.08 kB / 0.6267 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009191, allocations: 12.09 kB / 0.6267 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.00985, allocations: 290.6 kB / 0.627 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.00989, allocations: 67.28 kB / 0.6271 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.009916, allocations: 12.5 kB / 0.6271 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.009917, allocations: 0 / 0.6271 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of Templates: time 0.001531/0.01145, allocations: 0.8123 MB / 0.6279 GB, free: 4.035 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.939339674077928] Failed to read output from testmodel.py, exit status != 0: 0.016853660345077515 0.025252214000000002 0.017794884 Calling exit ...