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.001468/0.001468, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001712/0.001712, allocations: 181 kB / 23.36 MB, free: 1.133 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.9359/0.9359, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-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.8992/0.8992, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.403e-06/1.403e-06, allocations: 0 / 479.9 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.051e-05, allocations: 2.312 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001673/0.001694, allocations: 1.308 MB / 481.3 MB, free: 5.648 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.004583, allocations: 3.365 MB / 484.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.004621, allocations: 5.031 kB / 484.6 MB, free: 2.309 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.004644, allocations: 3.938 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.004696, allocations: 11.91 kB / 484.6 MB, free: 2.293 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.005177, allocations: 109.3 kB / 484.7 MB, free: 2.188 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.005244, allocations: 39.84 kB / 484.8 MB, free: 2.148 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.005282, allocations: 8.625 kB / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.005337, allocations: 32.52 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.00539, allocations: 11.92 kB / 484.8 MB, free: 2.098 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.005401, allocations: 4.625 kB / 484.8 MB, free: 2.094 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.005558, allocations: 56.75 kB / 484.9 MB, free: 2.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.005572, allocations: 11.94 kB / 484.9 MB, free: 2.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.00559, allocations: 15.97 kB / 484.9 MB, free: 2.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.005717, allocations: 73.2 kB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005719, allocations: 3.938 kB / 485 MB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00572, allocations: 0 / 485 MB, free: 1.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005724, allocations: 0 / 485 MB, free: 1.938 MB / 442.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.0002516/0.005975, allocations: 245.5 kB / 485.2 MB, free: 1.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.006003, allocations: 9.031 kB / 485.3 MB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.006086, allocations: 12.86 kB / 485.3 MB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.006414, allocations: 105.8 kB / 485.4 MB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.006427, allocations: 4.938 kB / 485.4 MB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.006453, allocations: 21.97 kB / 485.4 MB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.006555, allocations: 127.3 kB / 485.5 MB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.006562, allocations: 192 / 485.5 MB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.00657, allocations: 4.125 kB / 485.5 MB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.006575, allocations: 0.6562 kB / 485.5 MB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.006603, allocations: 11.98 kB / 485.5 MB, free: 1.344 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.875e-05/0.006692, allocations: 78.19 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.00675, allocations: 46.62 kB / 485.7 MB, free: 1.199 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.006766, allocations: 12.86 kB / 485.7 MB, free: 1.184 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.007124, allocations: 217.4 kB / 485.9 MB, free: 0.957 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.007154, allocations: 38.5 kB / 485.9 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.007155, allocations: 0.9062 kB / 485.9 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004031/0.007558, allocations: 228 kB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.007585, allocations: 55.41 kB / 486.2 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.007638, allocations: 110.6 kB / 486.3 MB, free: 480 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.007648, allocations: 29.7 kB / 486.3 MB, free: 444 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.00768, allocations: 88.86 kB / 486.4 MB, free: 352 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.007693, allocations: 19.8 kB / 486.4 MB, free: 332 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.007722, allocations: 43.02 kB / 486.5 MB, free: 284 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.007798, allocations: 318.8 kB / 486.8 MB, free: 15.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.007807, allocations: 4 kB / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.007838, allocations: 45.14 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.007886, allocations: 63.06 kB / 486.9 MB, free: 15.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007887, allocations: 0 / 486.9 MB, free: 15.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.263e-05/0.00796, allocations: 82.62 kB / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007973, allocations: 8.594 kB / 487 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007977, allocations: 1.219 kB / 487 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007989, allocations: 10.09 kB / 487 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.008034, allocations: 19.98 kB / 487 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.008037, allocations: 80 / 487 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.008058, allocations: 8.938 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.008064, allocations: 7.984 kB / 487 MB, free: 15.68 MB / 458.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.404e-05/0.008118, allocations: 115.2 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.008134, allocations: 7.938 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.008158, allocations: 12.12 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00816, allocations: 4.828 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008162, allocations: 0 / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008164, allocations: 0.5 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.00829, allocations: 81.88 kB / 487.3 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008291, allocations: 2.344 kB / 487.3 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.008335, allocations: 12 kB / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.008336, allocations: 0 / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.008345, allocations: 15.94 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008346, allocations: 0 / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008348, allocations: 5.891 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.008453, allocations: 151.5 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.008473, allocations: 7.984 kB / 487.4 MB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.008483, allocations: 11.88 kB / 487.5 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.008526, allocations: 4 kB / 487.5 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.008536, allocations: 5.734 kB / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.00854, allocations: 0 / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.699e-06/0.00855, allocations: 9.656 kB / 487.5 MB, free: 15.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00855, allocations: 0 / 487.5 MB, free: 15.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.008681, allocations: 17.41 kB / 487.5 MB, free: 15.18 MB / 458.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 9.767e-05/0.008779, allocations: 80.91 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.008843, allocations: 37.53 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.008846, allocations: 0.5312 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.00886, allocations: 24.78 kB / 487.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.008978, allocations: 21.97 kB / 487.7 MB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.009435, allocations: 226.7 kB / 487.9 MB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.009467, allocations: 55.36 kB / 487.9 MB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.409e-05/0.009501, allocations: 11.02 kB / 487.9 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.009554, allocations: 67.38 kB / 488 MB, free: 14.64 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009554, allocations: 1.625 kB / 488 MB, free: 14.64 MB / 458.7 MB Notification: Performance of Templates: time 0.002166/0.01172, allocations: 0.6912 MB / 488.7 MB, free: 13.99 MB / 458.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.70299459900707]