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.001347/0.001347, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001714/0.001714, allocations: 214.2 kB / 23.01 MB, free: 4.566 MB / 14.72 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.838/0.838, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 70.47 kB / 0.6198 GB, free: 6.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1845, allocations: 85.9 MB / 0.7036 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.002025/0.1865, allocations: 0.5287 MB / 0.7042 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.1867, allocations: 47.8 kB / 0.7042 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.1868, allocations: 0 / 0.7042 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.1868, allocations: 0 / 0.7042 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1869, allocations: 7.938 kB / 0.7042 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 6.543e-05/0.187, allocations: 0 / 0.7042 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.1871, allocations: 7.984 kB / 0.7042 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.115e-05/0.1871, allocations: 4.406 kB / 0.7042 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.1872, allocations: 8 kB / 0.7042 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.1873, allocations: 15.86 kB / 0.7043 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1873, allocations: 0 / 0.7043 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.1873, allocations: 4 kB / 0.7043 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.1873, allocations: 3.984 kB / 0.7043 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.1874, allocations: 7.938 kB / 0.7043 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.306e-05/0.1874, allocations: 11.98 kB / 0.7043 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1874, allocations: 0 / 0.7043 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1874, allocations: 0 / 0.7043 GB, free: 280 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1874, allocations: 0 / 0.7043 GB, free: 280 kB / 0.5137 GB 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.0004498/0.1879, allocations: 250.4 kB / 0.7045 GB, free: 0 / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.1879, allocations: 12.08 kB / 0.7045 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.188, allocations: 12.77 kB / 0.7045 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1882, allocations: 118.5 kB / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1882, allocations: 384 / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1882, allocations: 384 / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.1883, allocations: 41.62 kB / 0.7047 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1883, allocations: 0 / 0.7047 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1883, allocations: 0 / 0.7047 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1883, allocations: 7.938 kB / 0.7047 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.1884, allocations: 7.938 kB / 0.7047 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.1885, allocations: 124.8 kB / 0.7048 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.1886, allocations: 22.56 kB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.1886, allocations: 4.859 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1886, allocations: 3.938 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.1887, allocations: 42.62 kB / 0.7049 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1887, allocations: 0 / 0.7049 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001815/0.1889, allocations: 41.62 kB / 0.7049 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1889, allocations: 51.41 kB / 0.705 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.189, allocations: 109.8 kB / 0.7051 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1891, allocations: 25.7 kB / 0.7051 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1891, allocations: 84.14 kB / 0.7052 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.1891, allocations: 7.938 kB / 0.7052 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.1892, allocations: 17.84 kB / 0.7052 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1893, allocations: 314.8 kB / 0.7055 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.1893, allocations: 4 kB / 0.7055 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.1894, allocations: 17.7 kB / 0.7055 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.1894, allocations: 21.66 kB / 0.7056 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1894, allocations: 0 / 0.7056 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.379e-05/0.1895, allocations: 53.69 kB / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1895, allocations: 4 kB / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1895, allocations: 0 / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1895, allocations: 7.984 kB / 0.7056 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.1896, allocations: 3.938 kB / 0.7056 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1896, allocations: 4 kB / 0.7056 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.1896, allocations: 0 / 0.7056 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1896, allocations: 256 / 0.7056 GB, free: 14.69 MB / 0.5294 GB 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 9.433e-05/0.1897, allocations: 113.9 kB / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.1898, allocations: 7.891 kB / 0.7058 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1899, allocations: 52.83 kB / 0.7058 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1899, allocations: 0 / 0.7058 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.1899, allocations: 4 kB / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1899, allocations: 3.984 kB / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.19, allocations: 128.7 kB / 0.7059 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.19, allocations: 15.81 kB / 0.7059 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.1901, allocations: 3.938 kB / 0.706 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1901, allocations: 0 / 0.706 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1901, allocations: 8.031 kB / 0.706 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1901, allocations: 0 / 0.706 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1901, allocations: 0 / 0.706 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.1902, allocations: 77.11 kB / 0.706 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.1902, allocations: 7.969 kB / 0.706 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1902, allocations: 0 / 0.706 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.1902, allocations: 0 / 0.706 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1903, allocations: 8.078 kB / 0.706 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.1903, allocations: 4 kB / 0.7061 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.1903, allocations: 83.28 kB / 0.7061 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1903, allocations: 0 / 0.7061 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001835/0.1905, allocations: 4 kB / 0.7061 GB, free: 14.11 MB / 0.5294 GB 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 0.0001075/0.1906, allocations: 95.23 kB / 0.7062 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.63e-05/0.1907, allocations: 11.94 kB / 0.7062 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1907, allocations: 128 / 0.7062 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.1907, allocations: 15.98 kB / 0.7063 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.1909, allocations: 7.938 kB / 0.7063 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.1912, allocations: 135.3 kB / 0.7064 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1915, allocations: 0.6844 MB / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1916, allocations: 7.438 kB / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1916, allocations: 3.938 kB / 0.7071 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.002005/0.1936, allocations: 0.5115 MB / 0.7076 GB, free: 12.57 MB / 0.5294 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.124043619027361] Failed to read output from testmodel.py, exit status != 0: 0.20077441702596843 0.215817487 0.025417374000000003 Calling exit ...