Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001175/0.001175, allocations: 80.94 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.00129/0.00129, allocations: 177.3 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.9876/0.9876, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.7638/0.7638, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.359e-05, allocations: 6.969 kB / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001884/0.001908, allocations: 0.5813 MB / 480.6 MB, free: 6.355 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.002167, allocations: 40.38 kB / 480.6 MB, free: 6.316 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.002247, allocations: 0 / 480.6 MB, free: 6.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.002293, allocations: 0 / 480.6 MB, free: 6.316 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.002493, allocations: 10.8 kB / 480.7 MB, free: 6.309 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.286e-05/0.002556, allocations: 11.92 kB / 480.7 MB, free: 6.297 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.002622, allocations: 6.625 kB / 480.7 MB, free: 6.293 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.002675, allocations: 7.984 kB / 480.7 MB, free: 6.285 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.002755, allocations: 5.531 kB / 480.7 MB, free: 6.281 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.002856, allocations: 12.75 kB / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.002879, allocations: 1.422 kB / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.00289, allocations: 0 / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.002954, allocations: 6.234 kB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.002983, allocations: 4.641 kB / 480.7 MB, free: 6.262 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.429e-05/0.003067, allocations: 16.75 kB / 480.7 MB, free: 6.246 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003069, allocations: 1.422 kB / 480.7 MB, free: 6.246 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00307, allocations: 0 / 480.7 MB, free: 6.246 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003074, allocations: 0.5 kB / 480.7 MB, free: 6.246 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.0003189/0.003393, allocations: 224.8 kB / 480.9 MB, free: 6.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.003434, allocations: 12.59 kB / 481 MB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.003461, allocations: 0.9375 kB / 481 MB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.003619, allocations: 121.1 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.003631, allocations: 5.547 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.003648, allocations: 384 / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/0.00372, allocations: 29.97 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003727, allocations: 192 / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003735, allocations: 0.9062 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.003742, allocations: 6.594 kB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.025e-05/0.003752, allocations: 7.938 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.856e-05/0.003851, allocations: 59.88 kB / 481.2 MB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/0.003895, allocations: 22.55 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.003906, allocations: 5.766 kB / 481.2 MB, free: 5.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.003917, allocations: 0.7656 kB / 481.2 MB, free: 5.688 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.003943, allocations: 38.62 kB / 481.3 MB, free: 5.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.003944, allocations: 0.5625 kB / 481.3 MB, free: 5.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000104/0.004048, allocations: 34.31 kB / 481.3 MB, free: 5.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.004078, allocations: 52.41 kB / 481.3 MB, free: 5.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.004151, allocations: 114.6 kB / 481.4 MB, free: 5.414 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.004163, allocations: 26.92 kB / 481.5 MB, free: 5.383 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.004195, allocations: 89.45 kB / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.004218, allocations: 3.953 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.00425, allocations: 13.72 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.004346, allocations: 320 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.004357, allocations: 2.828 kB / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.004379, allocations: 18.73 kB / 481.9 MB, free: 4.922 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.004413, allocations: 17.58 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004415, allocations: 0 / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.401e-05/0.004479, allocations: 45.64 kB / 482 MB, free: 4.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.004493, allocations: 6.188 kB / 482 MB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.004499, allocations: 4 kB / 482 MB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.004511, allocations: 1.188 kB / 482 MB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.004567, allocations: 4.984 kB / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.004571, allocations: 0 / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.004589, allocations: 4.75 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.004594, allocations: 0 / 482 MB, free: 4.832 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 6.951e-05/0.004664, allocations: 121.4 kB / 482.1 MB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.004671, allocations: 3.938 kB / 482.1 MB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.004758, allocations: 38.62 kB / 482.2 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.00476, allocations: 4 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.004762, allocations: 0.5 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.004767, allocations: 5.031 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.515e-05/0.004843, allocations: 71.77 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.004844, allocations: 0 / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.004888, allocations: 6.625 kB / 482.2 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.00489, allocations: 0 / 482.2 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.004899, allocations: 1.922 kB / 482.2 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.0049, allocations: 0 / 482.2 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004901, allocations: 1.219 kB / 482.2 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.005003, allocations: 78.66 kB / 482.3 MB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.005026, allocations: 11.94 kB / 482.3 MB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005036, allocations: 0.7812 kB / 482.3 MB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.005049, allocations: 1 kB / 482.3 MB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.005064, allocations: 4 kB / 482.3 MB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.005067, allocations: 0 / 482.3 MB, free: 4.445 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.24e-05/0.005089, allocations: 18.36 kB / 482.4 MB, free: 4.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005089, allocations: 1.344 kB / 482.4 MB, free: 4.426 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.005239, allocations: 0 / 482.4 MB, free: 4.426 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 8.094e-05/0.00532, allocations: 81.33 kB / 482.4 MB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.637e-05/0.005376, allocations: 12.8 kB / 482.4 MB, free: 4.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.005379, allocations: 2.344 kB / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.005392, allocations: 8.859 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.393e-05/0.005466, allocations: 3.938 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.005689, allocations: 121.3 kB / 482.6 MB, free: 4.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.005721, allocations: 51.91 kB / 482.6 MB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.675e-05/0.005737, allocations: 5.688 kB / 482.6 MB, free: 4.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.005775, allocations: 47.38 kB / 482.7 MB, free: 4.043 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.005776, allocations: 0 / 482.7 MB, free: 4.043 MB / 442.7 MB Notification: Performance of Templates: time 0.002041/0.007817, allocations: 379 kB / 483.1 MB, free: 3.688 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.428920985199511]