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.0009382/0.0009382, allocations: 80.88 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.001027/0.001027, 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.9665/0.9665, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8284/0.8284, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.112e-06/1.112e-06, allocations: 0 / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.406e-05, allocations: 6.125 kB / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001598/0.001612, allocations: 1.355 MB / 481.3 MB, free: 5.621 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.004277, allocations: 3.364 MB / 484.7 MB, free: 2.289 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.004299, allocations: 0 / 484.7 MB, free: 2.289 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.004316, allocations: 4.688 kB / 484.7 MB, free: 2.285 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.004354, allocations: 7.938 kB / 484.7 MB, free: 2.277 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.004724, allocations: 109.2 kB / 484.8 MB, free: 2.172 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.004781, allocations: 35.86 kB / 484.9 MB, free: 2.137 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.004811, allocations: 9.891 kB / 484.9 MB, free: 2.129 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.004864, allocations: 35.84 kB / 484.9 MB, free: 2.094 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.004915, allocations: 15.97 kB / 484.9 MB, free: 2.078 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.447e-06/0.004924, allocations: 0 / 484.9 MB, free: 2.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.005074, allocations: 63.77 kB / 485 MB, free: 2.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.005088, allocations: 17.22 kB / 485 MB, free: 2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.005102, allocations: 4 kB / 485 MB, free: 1.996 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.005221, allocations: 79.72 kB / 485.1 MB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005223, allocations: 0.5 kB / 485.1 MB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005224, allocations: 0.9688 kB / 485.1 MB, free: 1.918 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.005227, allocations: 0 / 485.1 MB, free: 1.918 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.000242/0.005469, allocations: 241.2 kB / 485.3 MB, free: 1.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.005499, allocations: 16.02 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.355e-05/0.005583, allocations: 13.97 kB / 485.4 MB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.474e-05/0.005648, allocations: 109.7 kB / 485.5 MB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.005657, allocations: 1 kB / 485.5 MB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.005677, allocations: 12.67 kB / 485.5 MB, free: 1.488 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.904e-05/0.005776, allocations: 124 kB / 485.6 MB, free: 1.344 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005784, allocations: 8.75 kB / 485.6 MB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005793, allocations: 8.125 kB / 485.6 MB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005798, allocations: 0.625 kB / 485.6 MB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.005823, allocations: 11.98 kB / 485.6 MB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.328e-05/0.005916, allocations: 69.61 kB / 485.7 MB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.005975, allocations: 51.19 kB / 485.7 MB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.005989, allocations: 12.84 kB / 485.8 MB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.006315, allocations: 220.9 kB / 486 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.006335, allocations: 35.31 kB / 486 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.006336, allocations: 0 / 486 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003699/0.006706, allocations: 235.5 kB / 486.2 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.006727, allocations: 52.47 kB / 486.3 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.006779, allocations: 110.6 kB / 486.4 MB, free: 456 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006791, allocations: 29.7 kB / 486.4 MB, free: 420 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.006821, allocations: 88.78 kB / 486.5 MB, free: 328 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.006834, allocations: 23.78 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.006863, allocations: 30.25 kB / 486.6 MB, free: 268 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.006946, allocations: 318.8 kB / 486.9 MB, free: 15.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.006957, allocations: 12.52 kB / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.006987, allocations: 50.61 kB / 486.9 MB, free: 15.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.007036, allocations: 62.41 kB / 487 MB, free: 15.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007037, allocations: 0 / 487 MB, free: 15.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.369e-05/0.007111, allocations: 82.61 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.007125, allocations: 4 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.00713, allocations: 4 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.007141, allocations: 0.7188 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.007189, allocations: 23.98 kB / 487.1 MB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.007192, allocations: 1.094 kB / 487.1 MB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.007212, allocations: 4.438 kB / 487.1 MB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007218, allocations: 8 kB / 487.1 MB, free: 15.66 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 4.856e-05/0.007267, allocations: 115.6 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.007286, allocations: 15.92 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.007308, allocations: 12.78 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.007309, allocations: 0 / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.007312, allocations: 4.594 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007314, allocations: 0 / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.007441, allocations: 82.5 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.007441, allocations: 1.375 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.007489, allocations: 15.98 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.00749, allocations: 4 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.007496, allocations: 3.938 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.007497, allocations: 0.6562 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.007498, allocations: 2.25 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.862e-05/0.007597, allocations: 160.1 kB / 487.5 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.007613, allocations: 9.078 kB / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.007621, allocations: 3.938 kB / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.007666, allocations: 8 kB / 487.6 MB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.007677, allocations: 0.875 kB / 487.6 MB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.007682, allocations: 7.984 kB / 487.6 MB, free: 15.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.743e-06/0.007689, allocations: 6.266 kB / 487.6 MB, free: 15.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007689, allocations: 0 / 487.6 MB, free: 15.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.007818, allocations: 16 kB / 487.6 MB, free: 15.16 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 7.415e-05/0.007892, allocations: 78.45 kB / 487.7 MB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.007952, allocations: 40.77 kB / 487.7 MB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.007955, allocations: 8.781 kB / 487.7 MB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.007968, allocations: 16.84 kB / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.008085, allocations: 9.25 kB / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.008501, allocations: 225 kB / 488 MB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.008531, allocations: 60.22 kB / 488 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.802e-05/0.008559, allocations: 8.25 kB / 488 MB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.00861, allocations: 67.36 kB / 488.1 MB, free: 14.62 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008611, allocations: 1.031 kB / 488.1 MB, free: 14.62 MB / 458.7 MB Notification: Performance of Templates: time 0.001989/0.0106, allocations: 0.703 MB / 488.8 MB, free: 13.97 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5251596877351403]