Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.001149/0.001149, 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.001335/0.001335, 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 1.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7657/0.7657, allocations: 154.9 MB / 415.1 MB, free: 212 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 480.3 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.5e-05, allocations: 5.188 kB / 480.3 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001019/0.001034, allocations: 0.5303 MB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.001185, allocations: 44.69 kB / 480.9 MB, free: 5.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.001233, allocations: 0 / 480.9 MB, free: 5.988 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.001265, allocations: 0 / 480.9 MB, free: 5.988 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.001409, allocations: 6.094 kB / 480.9 MB, free: 5.984 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.569e-05/0.001454, allocations: 16.45 kB / 480.9 MB, free: 5.969 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.001508, allocations: 10.3 kB / 481 MB, free: 5.961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.001542, allocations: 4.688 kB / 481 MB, free: 5.957 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.0016, allocations: 6.25 kB / 481 MB, free: 5.953 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.001677, allocations: 13.08 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.001694, allocations: 0 / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.001702, allocations: 0.9062 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.001748, allocations: 9.531 kB / 481 MB, free: 5.934 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.00177, allocations: 0.7656 kB / 481 MB, free: 5.934 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.685e-05/0.001837, allocations: 17.67 kB / 481 MB, free: 5.918 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001838, allocations: 3.938 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.001838, allocations: 1.219 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.001842, allocations: 0 / 481 MB, free: 5.914 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002386/0.00208, allocations: 225.9 kB / 481.2 MB, free: 5.672 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.002112, allocations: 13.22 kB / 481.2 MB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.002133, allocations: 0.9375 kB / 481.2 MB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.00224, allocations: 117.8 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.002247, allocations: 5.469 kB / 481.4 MB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.002262, allocations: 384 / 481.4 MB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.676e-05/0.002319, allocations: 30.47 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.002325, allocations: 1.391 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.00233, allocations: 384 / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.002334, allocations: 1.781 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-06/0.002343, allocations: 8.875 kB / 481.4 MB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.361e-05/0.002406, allocations: 63.8 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.002437, allocations: 20.05 kB / 481.5 MB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-06/0.002446, allocations: 4.859 kB / 481.5 MB, free: 5.359 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.002456, allocations: 0 / 481.5 MB, free: 5.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.002473, allocations: 34.62 kB / 481.5 MB, free: 5.316 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.002474, allocations: 0.8125 kB / 481.5 MB, free: 5.316 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.852e-05/0.002552, allocations: 42.88 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.002578, allocations: 52.39 kB / 481.6 MB, free: 5.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.002774, allocations: 110.7 kB / 481.7 MB, free: 5.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.002781, allocations: 26.3 kB / 481.8 MB, free: 5.055 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.002803, allocations: 88.12 kB / 481.8 MB, free: 4.965 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.002821, allocations: 7.203 kB / 481.8 MB, free: 4.961 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.002843, allocations: 13.72 kB / 481.9 MB, free: 4.941 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.688e-05/0.002909, allocations: 318.8 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.002916, allocations: 2.828 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.00293, allocations: 17.72 kB / 482.2 MB, free: 4.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.002955, allocations: 25.02 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.002958, allocations: 0.7812 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.781e-05/0.002996, allocations: 37.41 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.003006, allocations: 4 kB / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.003009, allocations: 0 / 482.3 MB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.003019, allocations: 10.48 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.003063, allocations: 0 / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.003066, allocations: 8.562 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.003079, allocations: 3.938 kB / 482.3 MB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.003083, allocations: 0.625 kB / 482.3 MB, free: 4.496 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 4.655e-05/0.00313, allocations: 117.2 kB / 482.4 MB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-06/0.003133, allocations: 0.625 kB / 482.4 MB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.003193, allocations: 45.02 kB / 482.4 MB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.003196, allocations: 4.844 kB / 482.4 MB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.003197, allocations: 1.5 kB / 482.4 MB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.0032, allocations: 0 / 482.4 MB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.35e-05/0.003253, allocations: 74.56 kB / 482.5 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.003254, allocations: 0 / 482.5 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.003277, allocations: 4.656 kB / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003278, allocations: 0 / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.003285, allocations: 1.781 kB / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.003286, allocations: 0 / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003286, allocations: 4.703 kB / 482.5 MB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.785e-05/0.003354, allocations: 70.72 kB / 482.6 MB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.00337, allocations: 16.31 kB / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-06/0.003377, allocations: 0 / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-06/0.003385, allocations: 4.781 kB / 482.6 MB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.003395, allocations: 256 / 482.6 MB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.003396, allocations: 0.625 kB / 482.6 MB, free: 4.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.323e-05/0.003409, allocations: 17.41 kB / 482.6 MB, free: 4.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003409, allocations: 2.344 kB / 482.6 MB, free: 4.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.754e-05/0.003497, allocations: 0 / 482.6 MB, free: 4.098 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 5.925e-05/0.003556, allocations: 76.41 kB / 482.7 MB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.437e-05/0.003601, allocations: 16.8 kB / 482.7 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.003602, allocations: 2.078 kB / 482.7 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.00361, allocations: 8.859 kB / 482.7 MB, free: 3.984 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.891e-05/0.003668, allocations: 7.938 kB / 482.7 MB, free: 3.977 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/0.003836, allocations: 115.6 kB / 482.9 MB, free: 3.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.003864, allocations: 59.34 kB / 482.9 MB, free: 3.762 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.404e-05/0.003878, allocations: 4.547 kB / 482.9 MB, free: 3.758 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.003911, allocations: 47.38 kB / 483 MB, free: 3.711 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.003911, allocations: 0.75 kB / 483 MB, free: 3.711 MB / 442.7 MB Notification: Performance of Templates: time 0.001616/0.005527, allocations: 379.5 kB / 483.3 MB, free: 3.348 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4833625331521034]