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.0007368/0.0007368, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.001959, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001019/0.001019, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004317/0.005337, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9897/0.9897, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08121/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.7943/0.7943, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2739/1.068, allocations: 49.03 MB / 447.8 MB, free: 6.574 MB / 426.7 MB " [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.863e-06/1.863e-06, allocations: 0 / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.624e-05, allocations: 5.266 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002687/0.002713, allocations: 1.355 MB / 450.5 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.00664, allocations: 3.392 MB / 453.9 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.006669, allocations: 0.5469 kB / 453.9 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.006682, allocations: 3.938 kB / 453.9 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.884e-05/0.00671, allocations: 5.484 kB / 453.9 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.007152, allocations: 109.1 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.007235, allocations: 31.86 kB / 454 MB, free: 468 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.007273, allocations: 4 kB / 454 MB, free: 464 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.007352, allocations: 36.98 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.007429, allocations: 15.98 kB / 454.1 MB, free: 412 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.007441, allocations: 0 / 454.1 MB, free: 412 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.007644, allocations: 64.34 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.007661, allocations: 9.625 kB / 454.1 MB, free: 340 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.007682, allocations: 11.94 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.007849, allocations: 63.81 kB / 454.2 MB, free: 264 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.007861, allocations: 0 / 454.2 MB, free: 264 kB / 426.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007862, allocations: 1.219 kB / 454.2 MB, free: 264 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.007876, allocations: 0 / 454.2 MB, free: 264 kB / 426.7 MB 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.0004066/0.008282, allocations: 254.7 kB / 454.5 MB, free: 15.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.008322, allocations: 12.69 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.008481, allocations: 95.2 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.008566, allocations: 105.8 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.008577, allocations: 4.312 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.008608, allocations: 13.86 kB / 454.7 MB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.008733, allocations: 127.3 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.008741, allocations: 1.078 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.008751, allocations: 4.125 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.008757, allocations: 0 / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.008795, allocations: 21.97 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.008906, allocations: 72.97 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/0.008984, allocations: 46.56 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.009002, allocations: 8.859 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.009481, allocations: 214.1 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.009508, allocations: 34.5 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.00951, allocations: 0.875 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005209/0.01003, allocations: 238.7 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.01006, allocations: 59.97 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.01013, allocations: 104 kB / 455.6 MB, free: 14.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.01014, allocations: 30.33 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.01018, allocations: 88.08 kB / 455.7 MB, free: 14.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.01021, allocations: 32.36 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.01027, allocations: 26.33 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.01034, allocations: 318.8 kB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.01036, allocations: 5.062 kB / 456.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.0104, allocations: 49.12 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.01045, allocations: 64.09 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01045, allocations: 4 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.913e-05/0.01054, allocations: 87.72 kB / 456.3 MB, free: 13.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01056, allocations: 4 kB / 456.3 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.01056, allocations: 0.875 kB / 456.3 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01057, allocations: 4 kB / 456.3 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.01064, allocations: 27.92 kB / 456.3 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.01064, allocations: 0.625 kB / 456.3 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.01067, allocations: 8.688 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.01068, allocations: 4 kB / 456.3 MB, free: 13.89 MB / 442.7 MB 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 5.662e-05/0.01073, allocations: 114.4 kB / 456.4 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.01075, allocations: 9.156 kB / 456.5 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.01078, allocations: 16.11 kB / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01078, allocations: 0 / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01078, allocations: 1.906 kB / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.01078, allocations: 0 / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.01092, allocations: 81.88 kB / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01093, allocations: 0 / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.01097, allocations: 20 kB / 456.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.011, allocations: 14.5 kB / 456.6 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.011, allocations: 4 kB / 456.6 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.011, allocations: 0.8438 kB / 456.6 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.011, allocations: 0 / 456.6 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01101, allocations: 0 / 456.6 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.01112, allocations: 156.6 kB / 456.7 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.01113, allocations: 7.938 kB / 456.8 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.01121, allocations: 7.984 kB / 456.8 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.01122, allocations: 0.875 kB / 456.8 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.01122, allocations: 4 kB / 456.8 MB, free: 13.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.202e-05/0.01123, allocations: 10.03 kB / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 0 / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.01136, allocations: 16 kB / 456.8 MB, free: 13.39 MB / 442.7 MB 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.01146, allocations: 77.77 kB / 456.9 MB, free: 13.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.01191, allocations: 51.45 kB / 456.9 MB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.01192, allocations: 0 / 456.9 MB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.01194, allocations: 21.62 kB / 456.9 MB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.01208, allocations: 19.19 kB / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.01295, allocations: 190.8 kB / 457.1 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.01298, allocations: 59.34 kB / 457.2 MB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.01301, allocations: 7.406 kB / 457.2 MB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.01307, allocations: 67.36 kB / 457.3 MB, free: 12.86 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01307, allocations: 1.5 kB / 457.3 MB, free: 12.86 MB / 442.7 MB Notification: Performance of Templates: time 0.001998/0.01506, allocations: 0.7353 MB / 458 MB, free: 12.18 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4337331550195813]