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.001837/0.001837, allocations: 89.48 kB / 19.44 MB, free: 332 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.002103/0.002103, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.321/1.321, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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.973e-06/1.973e-06, allocations: 0 / 0.5196 GB, free: 2.613 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.778e-05, allocations: 5.078 kB / 0.5196 GB, free: 2.609 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002507/0.002545, allocations: 1.27 MB / 0.5208 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.007461, allocations: 3.358 MB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.007492, allocations: 0.9375 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.007516, allocations: 7.922 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.007574, allocations: 5.469 kB / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.00815, allocations: 111.5 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.008241, allocations: 36.89 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.008275, allocations: 0 / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.008357, allocations: 35.83 kB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.008424, allocations: 16.66 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.008438, allocations: 1.281 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.008659, allocations: 67.77 kB / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.008679, allocations: 7.969 kB / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.008712, allocations: 16.62 kB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.008924, allocations: 71.78 kB / 0.5245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.008927, allocations: 0.9062 kB / 0.5245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.008928, allocations: 0 / 0.5245 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.008933, allocations: 0 / 0.5245 GB, free: 13.62 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.0005228/0.009456, allocations: 372.9 kB / 0.5248 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.009492, allocations: 8.875 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.009622, allocations: 12.83 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.009744, allocations: 114.7 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.009773, allocations: 8.312 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.0098, allocations: 8.375 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.01, allocations: 127.3 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.01001, allocations: 192 / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.01003, allocations: 9.188 kB / 0.5251 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.01003, allocations: 0 / 0.5251 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/0.0101, allocations: 15.98 kB / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.01029, allocations: 122.1 kB / 0.5252 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.01042, allocations: 63.05 kB / 0.5253 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.01045, allocations: 19.67 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/0.0111, allocations: 297 kB / 0.5256 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.01114, allocations: 38.42 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.01114, allocations: 0 / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000632/0.01177, allocations: 234.9 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.01182, allocations: 55.34 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.01196, allocations: 170.5 kB / 0.5261 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01198, allocations: 29.7 kB / 0.5261 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.01207, allocations: 135.3 kB / 0.5262 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.0121, allocations: 34.81 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.01215, allocations: 31.33 kB / 0.5263 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002604/0.01241, allocations: 496.1 kB / 0.5267 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.01245, allocations: 19.98 kB / 0.5268 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.01254, allocations: 72.95 kB / 0.5268 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.01267, allocations: 92.44 kB / 0.5269 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01267, allocations: 0 / 0.5269 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001609/0.01284, allocations: 101.5 kB / 0.527 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.01285, allocations: 5.5 kB / 0.527 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01286, allocations: 4 kB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01287, allocations: 0 / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.01295, allocations: 19.98 kB / 0.527 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.01296, allocations: 5.031 kB / 0.5271 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.01299, allocations: 0 / 0.5271 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.013, allocations: 8 kB / 0.5271 GB, free: 10.64 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 0.0001329/0.01314, allocations: 173.5 kB / 0.5272 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.01317, allocations: 7.984 kB / 0.5272 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.0132, allocations: 11.38 kB / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.01321, allocations: 7.938 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01321, allocations: 0 / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01321, allocations: 0 / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.01346, allocations: 132.6 kB / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01346, allocations: 0 / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.01355, allocations: 15.98 kB / 0.5274 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01355, allocations: 0 / 0.5274 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01355, allocations: 0 / 0.5274 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.01356, allocations: 7.031 kB / 0.5274 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01356, allocations: 0 / 0.5274 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.01381, allocations: 231.8 kB / 0.5276 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.01384, allocations: 3.953 kB / 0.5276 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01386, allocations: 8 kB / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.01394, allocations: 0 / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.01397, allocations: 7.984 kB / 0.5276 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.01397, allocations: 0 / 0.5276 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.01405, allocations: 128.9 kB / 0.5278 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01405, allocations: 0 / 0.5278 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002216/0.01427, allocations: 8 kB / 0.5278 GB, free: 9.852 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 0.0001623/0.01443, allocations: 112.6 kB / 0.5279 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.01458, allocations: 52.27 kB / 0.5279 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01459, allocations: 0.625 kB / 0.5279 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.01463, allocations: 27.61 kB / 0.528 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01487, allocations: 14.38 kB / 0.528 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.01543, allocations: 252.4 kB / 0.5282 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.212e-05/0.01551, allocations: 68.53 kB / 0.5283 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.01556, allocations: 14.72 kB / 0.5283 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01559, allocations: 12.5 kB / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01559, allocations: 3.25 kB / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.003986/0.01958, allocations: 0.6381 MB / 0.5289 GB, free: 8.707 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: 6.242387042962946]