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.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.001242/0.001242, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001499/0.001499, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.781 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.9106/0.9106, allocations: 134 MB / 446.4 MB, free: 9.941 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.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: 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.002834/0.002834, allocations: 66.8 kB / 0.619 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2471, allocations: 85.91 MB / 0.7029 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003701/0.2508, allocations: 1.54 MB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004081/0.2512, allocations: 112.5 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.2512, allocations: 0 / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2514, allocations: 19.86 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.2514, allocations: 3.938 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2517, allocations: 31.89 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.2519, allocations: 59.84 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.252, allocations: 15.98 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.2521, allocations: 23.86 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.2522, allocations: 27.91 kB / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2522, allocations: 8 kB / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.2522, allocations: 15.92 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.2523, allocations: 19.91 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.2523, allocations: 19.88 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2525, allocations: 59.73 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2525, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2525, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2525, allocations: 8 kB / 0.7048 GB, free: 14.59 MB / 0.5294 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.0006447/0.2532, allocations: 306 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2532, allocations: 8.031 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.2533, allocations: 8.891 kB / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2535, allocations: 130.4 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2535, allocations: 4.375 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2535, allocations: 384 / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2538, allocations: 94.14 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2538, allocations: 192 / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2538, allocations: 7.938 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2539, allocations: 3.938 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.2541, allocations: 83.91 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.2547, allocations: 268.3 kB / 0.7057 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.2549, allocations: 50.64 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.2551, allocations: 44.81 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.2551, allocations: 0 / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.2551, allocations: 34.59 kB / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2551, allocations: 0 / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005548/0.2557, allocations: 137.6 kB / 0.7059 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2557, allocations: 55.39 kB / 0.706 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2558, allocations: 113.8 kB / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2559, allocations: 25.7 kB / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.2559, allocations: 96.09 kB / 0.7062 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.256, allocations: 11.88 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.256, allocations: 13.72 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2561, allocations: 326.8 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2563, allocations: 31.95 kB / 0.7066 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2564, allocations: 39.89 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.2567, allocations: 76.72 kB / 0.7067 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2567, allocations: 4 kB / 0.7067 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003318/0.257, allocations: 101.6 kB / 0.7068 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2571, allocations: 8 kB / 0.7068 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2571, allocations: 0 / 0.7068 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2571, allocations: 0 / 0.7068 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2572, allocations: 19.97 kB / 0.7068 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2572, allocations: 4 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.2573, allocations: 7.984 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.2573, allocations: 4 kB / 0.7068 GB, free: 12.33 MB / 0.5294 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.0001151/0.2574, allocations: 123.7 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.2575, allocations: 8.266 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.2579, allocations: 113.6 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2579, allocations: 4 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2579, allocations: 3.938 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2579, allocations: 0 / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.258, allocations: 129.2 kB / 0.7072 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2581, allocations: 0 / 0.7072 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.2581, allocations: 15.98 kB / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2581, allocations: 0 / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2582, allocations: 0 / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2582, allocations: 0 / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2582, allocations: 0 / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.2586, allocations: 211.3 kB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.2586, allocations: 3.953 kB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2586, allocations: 4 kB / 0.7074 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2587, allocations: 15.97 kB / 0.7074 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2587, allocations: 8 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2587, allocations: 0 / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.355e-05/0.2588, allocations: 94.66 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2588, allocations: 4 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002245/0.259, allocations: 8 kB / 0.7075 GB, free: 11.54 MB / 0.5294 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.0001656/0.2592, allocations: 99.23 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.2596, allocations: 79.86 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2596, allocations: 0 / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2597, allocations: 39.95 kB / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.26, allocations: 7.938 kB / 0.7077 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.2604, allocations: 161.2 kB / 0.7079 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.068e-05/0.2605, allocations: 75.19 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.2606, allocations: 8.234 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.2606, allocations: 15.44 kB / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2606, allocations: 0 / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.00367/0.2643, allocations: 0.826 MB / 0.7088 GB, free: 10.2 MB / 0.5294 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.992013689130545] Failed to read output from testmodel.py, exit status != 0: 0.27339525148272514 0.288647099 0.032906501000000005 Calling exit ...