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.0007091/0.0007091, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008961/0.001605, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007047/0.0007047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001671, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9028/0.9028, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08679/0.9896, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8337/0.8337, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2911/1.125, allocations: 49.12 MB / 448.4 MB, free: 6.027 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-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.533e-06/1.533e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.983e-05, allocations: 3.953 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001524/0.001544, allocations: 0.5701 MB / 450.3 MB, free: 4.207 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.417e-05/0.001638, allocations: 44.8 kB / 450.3 MB, free: 4.164 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.001689, allocations: 1.531 kB / 450.3 MB, free: 4.164 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.001709, allocations: 0 / 450.3 MB, free: 4.164 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.001782, allocations: 8.703 kB / 450.3 MB, free: 4.156 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.102e-05/0.001833, allocations: 9.125 kB / 450.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.00191, allocations: 10.83 kB / 450.3 MB, free: 4.141 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.001957, allocations: 4 kB / 450.3 MB, free: 4.137 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.002039, allocations: 14.78 kB / 450.3 MB, free: 4.125 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.002146, allocations: 13.19 kB / 450.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.002167, allocations: 0 / 450.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.002176, allocations: 0 / 450.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.002219, allocations: 6.188 kB / 450.4 MB, free: 4.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.002242, allocations: 1.578 kB / 450.4 MB, free: 4.109 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.602e-05/0.002318, allocations: 17.56 kB / 450.4 MB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.002334, allocations: 2.062 kB / 450.4 MB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002335, allocations: 0 / 450.4 MB, free: 4.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.00235, allocations: 0 / 450.4 MB, free: 4.094 MB / 426.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.0003296/0.00268, allocations: 230.8 kB / 450.6 MB, free: 3.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.00271, allocations: 8.031 kB / 450.6 MB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.002734, allocations: 5.844 kB / 450.6 MB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.002848, allocations: 114.4 kB / 450.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.002855, allocations: 2.156 kB / 450.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.002872, allocations: 4.375 kB / 450.7 MB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/0.002937, allocations: 33.08 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.002943, allocations: 192 / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-06/0.002948, allocations: 384 / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.002953, allocations: 3.203 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.201e-05/0.002965, allocations: 7.938 kB / 450.8 MB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.662e-05/0.003042, allocations: 64.84 kB / 450.8 MB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.003078, allocations: 18.61 kB / 450.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.092e-05/0.003089, allocations: 8.859 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.003099, allocations: 1.5 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.003123, allocations: 35.92 kB / 450.9 MB, free: 3.484 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.003124, allocations: 4.062 kB / 450.9 MB, free: 3.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.851e-05/0.003222, allocations: 33.64 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.003252, allocations: 52.03 kB / 451 MB, free: 3.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.003312, allocations: 110.7 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.00332, allocations: 26.8 kB / 451.1 MB, free: 3.227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.003344, allocations: 80.14 kB / 451.2 MB, free: 3.145 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.003366, allocations: 12.88 kB / 451.2 MB, free: 3.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.003393, allocations: 22.91 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.003474, allocations: 318.8 kB / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-06/0.003481, allocations: 2.828 kB / 451.6 MB, free: 2.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.003497, allocations: 14.91 kB / 451.6 MB, free: 2.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.003529, allocations: 21.52 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.003531, allocations: 0 / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.851e-05/0.00358, allocations: 41.64 kB / 451.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.003593, allocations: 4 kB / 451.6 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003597, allocations: 0.6562 kB / 451.6 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.003604, allocations: 1.094 kB / 451.6 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.003656, allocations: 8.188 kB / 451.6 MB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.003661, allocations: 9.422 kB / 451.7 MB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.003675, allocations: 4 kB / 451.7 MB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.003681, allocations: 0 / 451.7 MB, free: 2.664 MB / 426.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.347e-05/0.003734, allocations: 113.5 kB / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-06/0.00374, allocations: 6.719 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.003809, allocations: 42.31 kB / 451.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.00381, allocations: 0 / 451.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.003813, allocations: 4 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.003816, allocations: 0.625 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.879e-05/0.003874, allocations: 69.83 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.003875, allocations: 0.6562 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.003915, allocations: 8.641 kB / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.003929, allocations: 2.938 kB / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.003931, allocations: 0 / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.00394, allocations: 4 kB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.003941, allocations: 3.938 kB / 451.9 MB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.003942, allocations: 0 / 451.9 MB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.004322, allocations: 78.88 kB / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.00433, allocations: 0 / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.004339, allocations: 0.7812 kB / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.004351, allocations: 3.984 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.004352, allocations: 0.875 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.538e-05/0.004368, allocations: 12.86 kB / 452 MB, free: 2.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004368, allocations: 1.938 kB / 452 MB, free: 2.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 9e-05/0.004458, allocations: 0 / 452 MB, free: 2.27 MB / 426.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 6.679e-05/0.004525, allocations: 81.03 kB / 452.1 MB, free: 2.184 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.364e-05/0.004578, allocations: 17.38 kB / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.004581, allocations: 0.6562 kB / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.004591, allocations: 13.45 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.043e-05/0.004652, allocations: 10.61 kB / 452.1 MB, free: 2.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.004832, allocations: 113 kB / 452.2 MB, free: 2.008 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.004865, allocations: 64.08 kB / 452.3 MB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.144e-05/0.004877, allocations: 0.875 kB / 452.3 MB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.004909, allocations: 55.38 kB / 452.4 MB, free: 1.871 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004909, allocations: 0.5312 kB / 452.4 MB, free: 1.871 MB / 426.7 MB Notification: Performance of Templates: time 0.001638/0.006547, allocations: 379 kB / 452.7 MB, free: 1.516 MB / 426.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.4049345701932907]