Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0016/0.0016, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001726/0.001726, allocations: 186.7 kB / 20.78 MB, free: 1.543 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.549/1.549, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.115/1.115, allocations: 175.7 MB / 480.2 MB, free: 2.75 MB / 366.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-master/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_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 69.48 kB / 0.6684 GB, free: 10.6 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2099, allocations: 94.53 MB / 0.7607 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003322/0.2132, allocations: 1.545 MB / 0.7622 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004233/0.2136, allocations: 119.5 kB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.2137, allocations: 0 / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.2139, allocations: 7.922 kB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/0.2139, allocations: 7.875 kB / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.2142, allocations: 23.97 kB / 0.7624 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2144, allocations: 63.66 kB / 0.7624 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2145, allocations: 27.92 kB / 0.7625 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.2146, allocations: 27.91 kB / 0.7625 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.2147, allocations: 35.84 kB / 0.7625 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2147, allocations: 4 kB / 0.7625 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.2147, allocations: 8 kB / 0.7625 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.2148, allocations: 15.98 kB / 0.7625 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.2148, allocations: 27.8 kB / 0.7626 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.215, allocations: 55.73 kB / 0.7626 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.215, allocations: 4 kB / 0.7626 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.215, allocations: 0 / 0.7626 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.215, allocations: 0 / 0.7626 GB, free: 14.24 MB / 0.5762 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.0006439/0.2157, allocations: 387.2 kB / 0.763 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2157, allocations: 8.031 kB / 0.763 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.2157, allocations: 4.938 kB / 0.763 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.216, allocations: 184.2 kB / 0.7632 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.216, allocations: 4.375 kB / 0.7632 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.216, allocations: 4.375 kB / 0.7632 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.2163, allocations: 94.12 kB / 0.7633 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2163, allocations: 4.188 kB / 0.7633 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2163, allocations: 3.938 kB / 0.7633 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2163, allocations: 3.984 kB / 0.7633 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.2166, allocations: 83.8 kB / 0.7634 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.2172, allocations: 332.7 kB / 0.7637 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.2174, allocations: 58.58 kB / 0.7637 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2175, allocations: 40.91 kB / 0.7638 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2175, allocations: 4 kB / 0.7638 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2176, allocations: 34.56 kB / 0.7638 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2176, allocations: 0 / 0.7638 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005273/0.2181, allocations: 141.5 kB / 0.764 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2181, allocations: 55.41 kB / 0.764 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.2182, allocations: 113.8 kB / 0.7641 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2182, allocations: 29.7 kB / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.2183, allocations: 96.03 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2183, allocations: 11.88 kB / 0.7642 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.2184, allocations: 17.72 kB / 0.7643 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2185, allocations: 318.8 kB / 0.7646 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.2186, allocations: 35.95 kB / 0.7646 GB, free: 12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2188, allocations: 31.97 kB / 0.7646 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.219, allocations: 76.77 kB / 0.7647 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.219, allocations: 0 / 0.7647 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003145/0.2193, allocations: 105.6 kB / 0.7648 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2194, allocations: 5.406 kB / 0.7648 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2194, allocations: 0 / 0.7648 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2194, allocations: 4 kB / 0.7648 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2195, allocations: 19.91 kB / 0.7648 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2195, allocations: 0 / 0.7648 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.2196, allocations: 15.98 kB / 0.7648 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2196, allocations: 0 / 0.7648 GB, free: 11.73 MB / 0.5762 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 9.32e-05/0.2197, allocations: 117.8 kB / 0.765 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2197, allocations: 7.953 kB / 0.765 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.2201, allocations: 113.5 kB / 0.7651 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2201, allocations: 0 / 0.7651 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.2201, allocations: 4 kB / 0.7651 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2201, allocations: 7.875 kB / 0.7651 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2203, allocations: 181.6 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2203, allocations: 0 / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.2204, allocations: 23.91 kB / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2204, allocations: 0 / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2204, allocations: 384 / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2204, allocations: 0 / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2204, allocations: 0 / 0.7653 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.2208, allocations: 207.4 kB / 0.7655 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.2208, allocations: 85.06 kB / 0.7656 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2208, allocations: 0 / 0.7656 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2209, allocations: 11.98 kB / 0.7656 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.221, allocations: 11.98 kB / 0.7656 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.221, allocations: 8 kB / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.2211, allocations: 87.28 kB / 0.7657 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2211, allocations: 0 / 0.7657 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002274/0.2213, allocations: 8 kB / 0.7657 GB, free: 10.77 MB / 0.5762 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.0001594/0.2214, allocations: 107.1 kB / 0.7658 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.2218, allocations: 79.86 kB / 0.7659 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2218, allocations: 0 / 0.7659 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.222, allocations: 43.95 kB / 0.7659 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2223, allocations: 0 / 0.7659 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.2226, allocations: 157.5 kB / 0.7661 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2229, allocations: 0.697 MB / 0.7667 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.223, allocations: 7.984 kB / 0.7667 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.223, allocations: 7.438 kB / 0.7668 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.223, allocations: 0 / 0.7668 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.003314/0.2263, allocations: 0.7809 MB / 0.7675 GB, free: 8.836 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.291196799837053]