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.0009982/0.0009982, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009871/0.0009871, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9837/0.9837, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7996/0.7996, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.693e-06/1.693e-06, allocations: 0 / 0.5203 GB, free: 1.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.315e-05, allocations: 2.312 kB / 0.5203 GB, free: 1.145 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002761/0.002784, allocations: 1.301 MB / 0.5215 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.005747, allocations: 3.362 MB / 0.5248 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.005777, allocations: 0 / 0.5248 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.0058, allocations: 3.938 kB / 0.5248 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.005848, allocations: 8.547 kB / 0.5248 GB, free: 12.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.006327, allocations: 116.3 kB / 0.525 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.006397, allocations: 32.95 kB / 0.525 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.006431, allocations: 7.938 kB / 0.525 GB, free: 12.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.006484, allocations: 28.73 kB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.006542, allocations: 15.92 kB / 0.525 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.006554, allocations: 1.031 kB / 0.525 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.006716, allocations: 71.75 kB / 0.5251 GB, free: 12.21 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.006731, allocations: 11.92 kB / 0.5251 GB, free: 12.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.006758, allocations: 13.48 kB / 0.5251 GB, free: 12.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.006934, allocations: 63.86 kB / 0.5252 GB, free: 12.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006936, allocations: 4 kB / 0.5252 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006937, allocations: 0 / 0.5252 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.006943, allocations: 1.125 kB / 0.5252 GB, free: 12.12 MB / 458.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.0003882/0.007331, allocations: 372.2 kB / 0.5255 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.00737, allocations: 8.719 kB / 0.5256 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.007485, allocations: 21.17 kB / 0.5256 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/0.007556, allocations: 109.8 kB / 0.5257 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.007569, allocations: 4.375 kB / 0.5257 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.007598, allocations: 12.36 kB / 0.5257 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.007734, allocations: 128.5 kB / 0.5258 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.007741, allocations: 192 / 0.5258 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.007753, allocations: 4.125 kB / 0.5258 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.007762, allocations: 0.5312 kB / 0.5258 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.007803, allocations: 22.81 kB / 0.5258 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.007947, allocations: 124.6 kB / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.008026, allocations: 54.98 kB / 0.526 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.008052, allocations: 23.91 kB / 0.526 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.008494, allocations: 292.5 kB / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.008519, allocations: 41.39 kB / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.00852, allocations: 0 / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.000468/0.008988, allocations: 224.7 kB / 0.5266 GB, free: 10.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.009012, allocations: 55.41 kB / 0.5266 GB, free: 10.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.009086, allocations: 161.9 kB / 0.5268 GB, free: 10.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.009096, allocations: 25.7 kB / 0.5268 GB, free: 10.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.009144, allocations: 138.8 kB / 0.5269 GB, free: 10.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.009158, allocations: 23.81 kB / 0.527 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.00919, allocations: 31.36 kB / 0.527 GB, free: 10.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.009302, allocations: 497.6 kB / 0.5275 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.009324, allocations: 11.98 kB / 0.5275 GB, free: 9.531 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.009372, allocations: 70.05 kB / 0.5275 GB, free: 9.438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.009447, allocations: 89.59 kB / 0.5276 GB, free: 9.328 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.009448, allocations: 0 / 0.5276 GB, free: 9.328 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001067/0.009555, allocations: 93.44 kB / 0.5277 GB, free: 9.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.00957, allocations: 8 kB / 0.5277 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009575, allocations: 0 / 0.5277 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.009594, allocations: 6.438 kB / 0.5277 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.00965, allocations: 23.98 kB / 0.5278 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009656, allocations: 0 / 0.5278 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.009676, allocations: 4 kB / 0.5278 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.009683, allocations: 4 kB / 0.5278 GB, free: 9.188 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 7.073e-05/0.009754, allocations: 172.4 kB / 0.5279 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.00978, allocations: 5.219 kB / 0.5279 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.009811, allocations: 8.125 kB / 0.5279 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009813, allocations: 0 / 0.5279 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.009818, allocations: 4.859 kB / 0.5279 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.009822, allocations: 0 / 0.5279 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.009974, allocations: 137.8 kB / 0.5281 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.009976, allocations: 0 / 0.5281 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.01002, allocations: 16.44 kB / 0.5281 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01003, allocations: 4 kB / 0.5281 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01004, allocations: 5.391 kB / 0.5281 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01004, allocations: 4 kB / 0.5281 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01004, allocations: 0 / 0.5281 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.01036, allocations: 221.3 kB / 0.5283 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01038, allocations: 11.94 kB / 0.5283 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.01039, allocations: 0 / 0.5283 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.01044, allocations: 8.047 kB / 0.5283 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.01045, allocations: 8.812 kB / 0.5283 GB, free: 8.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01046, allocations: 4 kB / 0.5283 GB, free: 8.523 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.0105, allocations: 120.7 kB / 0.5285 GB, free: 8.406 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 4 kB / 0.5285 GB, free: 8.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.01066, allocations: 15.94 kB / 0.5285 GB, free: 8.387 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 0.000104/0.01076, allocations: 96.22 kB / 0.5286 GB, free: 8.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.472e-05/0.01085, allocations: 56.7 kB / 0.5286 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01086, allocations: 0.6562 kB / 0.5286 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.01088, allocations: 23.69 kB / 0.5286 GB, free: 8.199 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01106, allocations: 21.27 kB / 0.5287 GB, free: 8.184 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.01162, allocations: 270.8 kB / 0.5289 GB, free: 7.945 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.01165, allocations: 59.34 kB / 0.529 GB, free: 7.867 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.532e-05/0.01169, allocations: 8.875 kB / 0.529 GB, free: 7.863 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.01171, allocations: 12.5 kB / 0.529 GB, free: 7.852 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01171, allocations: 3.938 kB / 0.529 GB, free: 7.848 MB / 458.7 MB Notification: Performance of Templates: time 0.002117/0.01383, allocations: 0.6291 MB / 0.5296 GB, free: 7.258 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.9320228206925094]