Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 193.9 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13 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.8733/0.8733, allocations: 134 MB / 440.3 MB, free: 212 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 68.73 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1965, allocations: 84.73 MB / 0.6935 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003014/0.1995, allocations: 1.544 MB / 0.695 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.1999, allocations: 112.5 kB / 0.6951 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.1999, allocations: 3.938 kB / 0.6951 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2001, allocations: 7.922 kB / 0.6951 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.2001, allocations: 11.92 kB / 0.6951 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2004, allocations: 31.91 kB / 0.6951 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2005, allocations: 51.78 kB / 0.6952 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2007, allocations: 27.88 kB / 0.6952 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.2007, allocations: 27.92 kB / 0.6952 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.2008, allocations: 31.89 kB / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2008, allocations: 4 kB / 0.6953 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.2009, allocations: 15.98 kB / 0.6953 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.2009, allocations: 15.92 kB / 0.6953 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.201, allocations: 23.88 kB / 0.6953 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2012, allocations: 63.72 kB / 0.6954 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2012, allocations: 0 / 0.6954 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2012, allocations: 3.938 kB / 0.6954 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.2012, allocations: 0 / 0.6954 GB, free: 7.012 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006323/0.2018, allocations: 310 kB / 0.6957 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2018, allocations: 12.03 kB / 0.6957 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.2019, allocations: 4.891 kB / 0.6957 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.2021, allocations: 130.4 kB / 0.6958 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.2021, allocations: 8.375 kB / 0.6958 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2021, allocations: 384 / 0.6958 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.2024, allocations: 86.2 kB / 0.6959 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2024, allocations: 4.188 kB / 0.6959 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2025, allocations: 3.938 kB / 0.6959 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2025, allocations: 4 kB / 0.6959 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.2028, allocations: 83.84 kB / 0.696 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.2035, allocations: 295.8 kB / 0.6963 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2037, allocations: 54.58 kB / 0.6964 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.2039, allocations: 40.91 kB / 0.6964 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.2039, allocations: 4 kB / 0.6964 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.204, allocations: 34.56 kB / 0.6964 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.204, allocations: 0 / 0.6964 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005955/0.2046, allocations: 137.5 kB / 0.6966 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2046, allocations: 59.33 kB / 0.6966 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2047, allocations: 117.8 kB / 0.6967 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2047, allocations: 29.7 kB / 0.6968 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2048, allocations: 88.09 kB / 0.6968 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.2048, allocations: 15.88 kB / 0.6969 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.2049, allocations: 17.72 kB / 0.6969 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.205, allocations: 318.7 kB / 0.6972 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2052, allocations: 35.95 kB / 0.6972 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2053, allocations: 31.97 kB / 0.6972 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2056, allocations: 80.77 kB / 0.6973 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2056, allocations: 0 / 0.6973 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003414/0.206, allocations: 101.9 kB / 0.6974 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.206, allocations: 8 kB / 0.6974 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.206, allocations: 0 / 0.6974 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.206, allocations: 0 / 0.6974 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2061, allocations: 20.02 kB / 0.6974 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2061, allocations: 3.938 kB / 0.6974 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.2062, allocations: 15.97 kB / 0.6975 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2062, allocations: 7.938 kB / 0.6975 GB, free: 4.703 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 0.0001084/0.2064, allocations: 119.5 kB / 0.6976 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.2064, allocations: 0 / 0.6976 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.2068, allocations: 113.6 kB / 0.6977 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2068, allocations: 0 / 0.6977 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2068, allocations: 0 / 0.6977 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2068, allocations: 4 kB / 0.6977 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.207, allocations: 164.6 kB / 0.6979 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.207, allocations: 0 / 0.6979 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2071, allocations: 15.98 kB / 0.6979 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2071, allocations: 7.984 kB / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.2071, allocations: 0 / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2071, allocations: 3.938 kB / 0.6979 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2071, allocations: 0 / 0.6979 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.2075, allocations: 211.3 kB / 0.6981 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.2075, allocations: 3.953 kB / 0.6981 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2076, allocations: 4 kB / 0.6981 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2077, allocations: 7.984 kB / 0.6981 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.2077, allocations: 11.98 kB / 0.6981 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.2077, allocations: 4 kB / 0.6981 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.907e-05/0.2078, allocations: 88.38 kB / 0.6982 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2078, allocations: 0 / 0.6982 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002275/0.208, allocations: 15.98 kB / 0.6982 GB, free: 3.867 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001791/0.2082, allocations: 95.19 kB / 0.6983 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.2086, allocations: 83.86 kB / 0.6984 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2086, allocations: 0 / 0.6984 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2088, allocations: 39.95 kB / 0.6984 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.209, allocations: 1.641 kB / 0.6984 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.2094, allocations: 153.4 kB / 0.6986 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.2098, allocations: 0.6963 MB / 0.6992 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.2098, allocations: 8.234 kB / 0.6993 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.2099, allocations: 11.44 kB / 0.6993 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.2099, allocations: 0 / 0.6993 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of Templates: time 0.003441/0.2133, allocations: 0.782 MB / 0.7 GB, free: 1.953 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850300636142492] Failed to read output from testmodel.py, exit status != 0: 0.2213393347337842 0.23697847100000002 0.032725158000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb56aef97b0>