Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.001303/0.001303, allocations: 80.75 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.00153/0.00153, 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.9745/0.9745, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7414/0.7414, allocations: 154.6 MB / 414.8 MB, free: 488 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. " [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.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.746e-05, allocations: 2.312 kB / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001/0.001018, allocations: 0.5371 MB / 480.5 MB, free: 6.398 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.001144, allocations: 15.91 kB / 480.5 MB, free: 6.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.001172, allocations: 5.172 kB / 480.5 MB, free: 6.379 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.001188, allocations: 1.5 kB / 480.5 MB, free: 6.379 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.001334, allocations: 5.094 kB / 480.5 MB, free: 6.375 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.785e-06/0.001337, allocations: 0 / 480.5 MB, free: 6.375 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.001387, allocations: 5.094 kB / 480.5 MB, free: 6.371 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.001424, allocations: 5.141 kB / 480.6 MB, free: 6.367 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.001486, allocations: 6.312 kB / 480.6 MB, free: 6.363 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.00153, allocations: 4.641 kB / 480.6 MB, free: 6.359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.001549, allocations: 0 / 480.6 MB, free: 6.359 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.001556, allocations: 0 / 480.6 MB, free: 6.359 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.00157, allocations: 1.391 kB / 480.6 MB, free: 6.359 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.001582, allocations: 0.6562 kB / 480.6 MB, free: 6.359 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.169e-05/0.001634, allocations: 4.875 kB / 480.6 MB, free: 6.355 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.001636, allocations: 0.7188 kB / 480.6 MB, free: 6.355 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.001636, allocations: 3.938 kB / 480.6 MB, free: 6.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.00164, allocations: 0.7812 kB / 480.6 MB, free: 6.352 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002026/0.001843, allocations: 216.4 kB / 480.8 MB, free: 6.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.001877, allocations: 12.03 kB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.001899, allocations: 4.828 kB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.001963, allocations: 105.8 kB / 480.9 MB, free: 5.977 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.001974, allocations: 8.375 kB / 480.9 MB, free: 5.969 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.001983, allocations: 384 / 480.9 MB, free: 5.969 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/0.002057, allocations: 43.97 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.002063, allocations: 192 / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.002071, allocations: 1.547 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.002076, allocations: 0.9219 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.00209, allocations: 12.5 kB / 481 MB, free: 5.902 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.95e-05/0.002169, allocations: 62.84 kB / 481 MB, free: 5.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.00222, allocations: 41.19 kB / 481.1 MB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.002235, allocations: 10.81 kB / 481.1 MB, free: 5.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.002251, allocations: 1.266 kB / 481.1 MB, free: 5.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.002272, allocations: 43.55 kB / 481.1 MB, free: 5.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.002273, allocations: 0 / 481.1 MB, free: 5.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.11e-05/0.002364, allocations: 38.27 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.002399, allocations: 77.73 kB / 481.2 MB, free: 5.562 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.707e-05/0.002446, allocations: 99.34 kB / 481.3 MB, free: 5.453 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.002455, allocations: 25.7 kB / 481.4 MB, free: 5.422 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.002477, allocations: 88.75 kB / 481.5 MB, free: 5.332 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.002503, allocations: 8.906 kB / 481.5 MB, free: 5.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.002524, allocations: 13.72 kB / 481.5 MB, free: 5.305 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.002597, allocations: 315.4 kB / 481.8 MB, free: 4.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/0.002603, allocations: 4.656 kB / 481.8 MB, free: 4.984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.002615, allocations: 10.62 kB / 481.8 MB, free: 4.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.00264, allocations: 23.14 kB / 481.8 MB, free: 4.941 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.002643, allocations: 4 kB / 481.8 MB, free: 4.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.427e-05/0.002677, allocations: 34.55 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.002687, allocations: 8 kB / 481.9 MB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.002692, allocations: 2.469 kB / 481.9 MB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.002702, allocations: 0 / 481.9 MB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.002756, allocations: 7.984 kB / 481.9 MB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.00276, allocations: 0.625 kB / 481.9 MB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.002769, allocations: 0 / 481.9 MB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.002777, allocations: 9.312 kB / 481.9 MB, free: 4.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.111e-05/0.002828, allocations: 109.8 kB / 482 MB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.466e-06/0.002831, allocations: 1.422 kB / 482 MB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.0029, allocations: 46.56 kB / 482 MB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-07/0.002901, allocations: 0 / 482 MB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.002904, allocations: 4.75 kB / 482 MB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.002908, allocations: 1.062 kB / 482 MB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.993e-05/0.002958, allocations: 70.45 kB / 482.1 MB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.00296, allocations: 8.891 kB / 482.1 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-06/0.002968, allocations: 0.5469 kB / 482.1 MB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00297, allocations: 4 kB / 482.1 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.002975, allocations: 0.7188 kB / 482.1 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.002976, allocations: 0 / 482.1 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.002976, allocations: 0.5938 kB / 482.1 MB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.597e-05/0.003032, allocations: 71.84 kB / 482.2 MB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.003055, allocations: 8.547 kB / 482.2 MB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-06/0.003061, allocations: 0 / 482.2 MB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-06/0.003067, allocations: 0.7812 kB / 482.2 MB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.003078, allocations: 4 kB / 482.2 MB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.003079, allocations: 0.7656 kB / 482.2 MB, free: 4.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.024e-06/0.003086, allocations: 6.859 kB / 482.2 MB, free: 4.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003086, allocations: 0 / 482.2 MB, free: 4.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.94e-05/0.003176, allocations: 4 kB / 482.2 MB, free: 4.496 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.741e-05/0.003243, allocations: 81.06 kB / 482.3 MB, free: 4.406 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.875e-05/0.003292, allocations: 13.55 kB / 482.3 MB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.003295, allocations: 4.5 kB / 482.3 MB, free: 4.387 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.003303, allocations: 6.766 kB / 482.3 MB, free: 4.379 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.009e-05/0.003353, allocations: 9.156 kB / 482.3 MB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.003506, allocations: 99.47 kB / 482.4 MB, free: 4.246 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.72e-05/0.003533, allocations: 55.36 kB / 482.5 MB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.227e-05/0.003545, allocations: 0.9375 kB / 482.5 MB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.003573, allocations: 48.78 kB / 482.5 MB, free: 4.125 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.003574, allocations: 0 / 482.5 MB, free: 4.125 MB / 442.7 MB Notification: Performance of Templates: time 0.001392/0.004966, allocations: 233 kB / 482.8 MB, free: 3.902 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4485268900170922]