Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.0009602/0.0009602, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002349, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000799/0.000799, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001861, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.049/1.049, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.153, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.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.7621/0.7621, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2997/1.062, allocations: 49.04 MB / 447.8 MB, free: 6.641 MB / 426.7 MB " [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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.7656 kB / 449.1 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.231e-05, allocations: 4.141 kB / 449.1 MB, free: 5.34 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002672/0.002704, allocations: 1.494 MB / 450.6 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.00651, allocations: 3.007 MB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.006559, allocations: 0 / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.033e-05/0.006609, allocations: 7.922 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.006733, allocations: 55.75 kB / 453.7 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.00737, allocations: 177.3 kB / 453.9 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.007676, allocations: 263.4 kB / 454.1 MB, free: 424 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.007727, allocations: 4 kB / 454.1 MB, free: 420 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.007914, allocations: 119.8 kB / 454.3 MB, free: 300 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.008098, allocations: 119.8 kB / 454.4 MB, free: 180 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.008136, allocations: 12.88 kB / 454.4 MB, free: 168 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.008604, allocations: 159.6 kB / 454.5 MB, free: 8 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.008722, allocations: 72.7 kB / 454.6 MB, free: 15.94 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.008801, allocations: 55.88 kB / 454.7 MB, free: 15.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.009196, allocations: 247.9 kB / 454.9 MB, free: 15.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.009212, allocations: 7.938 kB / 454.9 MB, free: 15.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009213, allocations: 0.9062 kB / 454.9 MB, free: 15.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.00923, allocations: 0 / 454.9 MB, free: 15.63 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000888/0.01012, allocations: 0.4886 MB / 455.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.01016, allocations: 8.031 kB / 455.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.01037, allocations: 110.5 kB / 455.5 MB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.01059, allocations: 169.5 kB / 455.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.01064, allocations: 25.58 kB / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.01067, allocations: 12.38 kB / 455.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.011, allocations: 181.7 kB / 455.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01101, allocations: 192 / 455.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.01104, allocations: 12.12 kB / 455.9 MB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01105, allocations: 4.969 kB / 455.9 MB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.01149, allocations: 291.5 kB / 456.2 MB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.01173, allocations: 143.8 kB / 456.3 MB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.01246, allocations: 412.6 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.01258, allocations: 57.47 kB / 456.8 MB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.01282, allocations: 84.8 kB / 456.9 MB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.01285, allocations: 47.64 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.786e-06/0.01285, allocations: 3.938 kB / 456.9 MB, free: 13.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004027/0.01326, allocations: 205.1 kB / 457.1 MB, free: 13.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.01329, allocations: 56.19 kB / 457.2 MB, free: 13.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.01339, allocations: 132 kB / 457.3 MB, free: 13.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.01341, allocations: 30.58 kB / 457.3 MB, free: 13.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.01345, allocations: 92.78 kB / 457.4 MB, free: 12.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.01355, allocations: 123.9 kB / 457.6 MB, free: 12.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.272e-05/0.01365, allocations: 65.41 kB / 457.6 MB, free: 12.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01376, allocations: 326.8 kB / 457.9 MB, free: 12.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.01385, allocations: 43.44 kB / 458 MB, free: 12.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.01394, allocations: 51.97 kB / 458 MB, free: 12.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.01414, allocations: 111.4 kB / 458.1 MB, free: 12.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01414, allocations: 0 / 458.1 MB, free: 12.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002563/0.0144, allocations: 149.7 kB / 458.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.01442, allocations: 8.609 kB / 458.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01443, allocations: 1.828 kB / 458.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01444, allocations: 4.625 kB / 458.3 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.01478, allocations: 113.2 kB / 458.4 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.01478, allocations: 0 / 458.4 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01493, allocations: 61.03 kB / 458.5 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.01495, allocations: 13.11 kB / 458.5 MB, free: 11.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001046/0.01505, allocations: 124.6 kB / 458.6 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.01509, allocations: 21.89 kB / 458.6 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.01545, allocations: 215.6 kB / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.01545, allocations: 4 kB / 458.8 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01545, allocations: 0 / 458.8 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.01546, allocations: 7.922 kB / 458.9 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.01584, allocations: 160 kB / 459 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01585, allocations: 0 / 459 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.01614, allocations: 107.8 kB / 459.1 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.01617, allocations: 27.78 kB / 459.1 MB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01617, allocations: 1.688 kB / 459.1 MB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.0162, allocations: 11.98 kB / 459.2 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.0162, allocations: 0 / 459.2 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.0162, allocations: 0 / 459.2 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.0165, allocations: 207.5 kB / 459.4 MB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01653, allocations: 12.66 kB / 459.4 MB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.01667, allocations: 45.14 kB / 459.4 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.01677, allocations: 35.92 kB / 459.4 MB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.01679, allocations: 12.73 kB / 459.5 MB, free: 10.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.662e-05/0.01683, allocations: 31.27 kB / 459.5 MB, free: 10.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01683, allocations: 1.719 kB / 459.5 MB, free: 10.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.01717, allocations: 111.8 kB / 459.6 MB, free: 10.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0003475/0.01752, allocations: 169.9 kB / 459.8 MB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.01782, allocations: 173.2 kB / 459.9 MB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.01783, allocations: 0 / 459.9 MB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.01801, allocations: 141.1 kB / 460.1 MB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.01846, allocations: 374 kB / 460.4 MB, free: 9.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.02195, allocations: 369.5 kB / 460.8 MB, free: 9.457 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.02201, allocations: 88.81 kB / 460.9 MB, free: 9.352 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.02224, allocations: 69.81 kB / 461 MB, free: 9.312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.02249, allocations: 137.2 kB / 461.1 MB, free: 9.176 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02249, allocations: 0.75 kB / 461.1 MB, free: 9.176 MB / 442.7 MB Notification: Performance of Templates: time 0.0108/0.0333, allocations: 6.633 MB / 467.7 MB, free: 3.035 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6693875044584274]