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.001434/0.001434, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001852/0.001852, allocations: 173 kB / 23.49 MB, free: 1.059 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.9407/0.9407, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.7898/0.7898, allocations: 154.6 MB / 414.9 MB, free: 0.6875 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.363e-06/1.363e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.809e-05, allocations: 4.891 kB / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001561/0.001579, allocations: 1.288 MB / 0.5215 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.0045, allocations: 3.374 MB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.004524, allocations: 4.562 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.004538, allocations: 0.7188 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.004573, allocations: 3.938 kB / 0.5249 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.004956, allocations: 117.2 kB / 0.525 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.005013, allocations: 35.86 kB / 0.525 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.902e-05/0.005042, allocations: 13.78 kB / 0.525 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.005083, allocations: 19.98 kB / 0.525 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.005129, allocations: 11.97 kB / 0.525 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.005141, allocations: 4 kB / 0.525 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.005283, allocations: 61.39 kB / 0.5251 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.005299, allocations: 15.97 kB / 0.5251 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.005319, allocations: 11.94 kB / 0.5251 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.005455, allocations: 75.72 kB / 0.5252 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.005456, allocations: 0 / 0.5252 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005457, allocations: 1.281 kB / 0.5252 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.005461, allocations: 0 / 0.5252 GB, free: 13.53 MB / 0.4948 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.0003166/0.005778, allocations: 364.3 kB / 0.5256 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.005812, allocations: 12.66 kB / 0.5256 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.005913, allocations: 22.97 kB / 0.5256 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.853e-05/0.005981, allocations: 104.6 kB / 0.5257 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.005993, allocations: 4.375 kB / 0.5257 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.006013, allocations: 8.375 kB / 0.5257 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006131, allocations: 127.3 kB / 0.5258 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.006137, allocations: 2.344 kB / 0.5258 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.006146, allocations: 8.062 kB / 0.5258 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006152, allocations: 0 / 0.5258 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.006185, allocations: 19.92 kB / 0.5258 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.006304, allocations: 128.5 kB / 0.526 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.006375, allocations: 57.8 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.006399, allocations: 19.67 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.006812, allocations: 296.5 kB / 0.5263 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.006835, allocations: 37.39 kB / 0.5264 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.006836, allocations: 0 / 0.5264 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004138/0.00725, allocations: 223.2 kB / 0.5266 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.007278, allocations: 55.72 kB / 0.5266 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.007351, allocations: 165.9 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.007362, allocations: 25.7 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.007408, allocations: 139.8 kB / 0.5269 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.007424, allocations: 27.78 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.007457, allocations: 31.33 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.007583, allocations: 496.8 kB / 0.5275 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.0076, allocations: 11.98 kB / 0.5275 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.007648, allocations: 75.56 kB / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.007715, allocations: 82 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007715, allocations: 0.5625 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.777e-05/0.007813, allocations: 94.52 kB / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.007823, allocations: 10.69 kB / 0.5277 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.007828, allocations: 8.766 kB / 0.5277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.007838, allocations: 4 kB / 0.5278 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.007887, allocations: 22.66 kB / 0.5278 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.007895, allocations: 8.062 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.007916, allocations: 4 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.007921, allocations: 4 kB / 0.5278 GB, free: 10.59 MB / 0.4948 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.846e-05/0.00799, allocations: 168.5 kB / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.008006, allocations: 7.953 kB / 0.528 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.008027, allocations: 8.125 kB / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00803, allocations: 3.125 kB / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.008032, allocations: 0 / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008035, allocations: 0 / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.008181, allocations: 132.6 kB / 0.5281 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.008182, allocations: 3.938 kB / 0.5281 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.00823, allocations: 20.42 kB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.008231, allocations: 0 / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.008243, allocations: 4 kB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.008244, allocations: 5.188 kB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008245, allocations: 0 / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.008392, allocations: 219.8 kB / 0.5283 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.008411, allocations: 9.172 kB / 0.5283 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.00842, allocations: 0 / 0.5283 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.008462, allocations: 4 kB / 0.5283 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.008477, allocations: 11.92 kB / 0.5284 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.008482, allocations: 4.938 kB / 0.5284 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.008528, allocations: 123.2 kB / 0.5285 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008528, allocations: 0.7188 kB / 0.5285 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001422/0.00867, allocations: 12 kB / 0.5285 GB, free: 9.801 MB / 0.4948 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 8.254e-05/0.008753, allocations: 102.6 kB / 0.5286 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.008834, allocations: 43.61 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008835, allocations: 0 / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.008858, allocations: 31.61 kB / 0.5287 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.009018, allocations: 15.47 kB / 0.5287 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.009561, allocations: 256.2 kB / 0.5289 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.009596, allocations: 59.34 kB / 0.529 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.009625, allocations: 6.625 kB / 0.529 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.009645, allocations: 19.03 kB / 0.529 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.009646, allocations: 0 / 0.529 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.002052/0.0117, allocations: 0.6344 MB / 0.5296 GB, free: 8.684 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7961327319499105]