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.001281/0.001281, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001615/0.001615, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.965 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.8601/0.8601, allocations: 134 MB / 446.4 MB, free: 10.17 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [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.002758/0.002758, allocations: 73.91 kB / 0.6186 GB, free: 7.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2287, allocations: 85.9 MB / 0.7024 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.004081/0.2328, allocations: 1.558 MB / 0.704 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000447/0.2332, allocations: 124.5 kB / 0.7041 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.2333, allocations: 3.938 kB / 0.7041 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2334, allocations: 7.875 kB / 0.7041 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.615e-05/0.2335, allocations: 11.92 kB / 0.7041 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.2337, allocations: 23.97 kB / 0.7041 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.2339, allocations: 59.78 kB / 0.7042 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.234, allocations: 19.97 kB / 0.7042 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.2341, allocations: 23.92 kB / 0.7042 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.2342, allocations: 31.84 kB / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2342, allocations: 4 kB / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.2343, allocations: 12 kB / 0.7043 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.2343, allocations: 15.98 kB / 0.7043 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.2344, allocations: 27.8 kB / 0.7043 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2346, allocations: 67.95 kB / 0.7044 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2346, allocations: 0 / 0.7044 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2346, allocations: 4 kB / 0.7044 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2346, allocations: 0 / 0.7044 GB, free: 15.49 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.0006406/0.2352, allocations: 306 kB / 0.7047 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2352, allocations: 8.031 kB / 0.7047 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.2353, allocations: 34.75 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.2353, allocations: 8.891 kB / 0.7047 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.2355, allocations: 130.5 kB / 0.7049 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2356, allocations: 4.375 kB / 0.7049 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.2356, allocations: 4.375 kB / 0.7049 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.2359, allocations: 86.14 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2359, allocations: 3.938 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.236, allocations: 4 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.236, allocations: 0 / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.2364, allocations: 87.84 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.2371, allocations: 299.7 kB / 0.7053 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.2374, allocations: 62.53 kB / 0.7054 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2376, allocations: 36.91 kB / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.2377, allocations: 4 kB / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2377, allocations: 30.56 kB / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.2377, allocations: 0 / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0007616/0.2385, allocations: 141.6 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.2385, allocations: 51.41 kB / 0.7056 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.2386, allocations: 123.6 kB / 0.7057 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2387, allocations: 29.7 kB / 0.7058 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.2388, allocations: 92.09 kB / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2388, allocations: 7.891 kB / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.2388, allocations: 25.7 kB / 0.7059 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.239, allocations: 314.8 kB / 0.7062 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2392, allocations: 35.95 kB / 0.7062 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.2394, allocations: 31.97 kB / 0.7063 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.2398, allocations: 80.72 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2398, allocations: 0 / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004596/0.2402, allocations: 109.9 kB / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2403, allocations: 4 kB / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2403, allocations: 3.984 kB / 0.7065 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2403, allocations: 4 kB / 0.7065 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2405, allocations: 19.97 kB / 0.7065 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2405, allocations: 0 / 0.7065 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2406, allocations: 15.98 kB / 0.7065 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2406, allocations: 0 / 0.7065 GB, free: 13.14 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.000117/0.2407, allocations: 117.8 kB / 0.7066 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.2408, allocations: 7.953 kB / 0.7066 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/0.2413, allocations: 117.5 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2413, allocations: 0 / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2413, allocations: 4 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2413, allocations: 3.938 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.2416, allocations: 152.7 kB / 0.7069 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2416, allocations: 0 / 0.7069 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2417, allocations: 19.98 kB / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2417, allocations: 0 / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2417, allocations: 0 / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2417, allocations: 0 / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.2417, allocations: 3.984 kB / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.2423, allocations: 203.4 kB / 0.7071 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.2423, allocations: 7.953 kB / 0.7071 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.2423, allocations: 3.984 kB / 0.7071 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.2425, allocations: 11.98 kB / 0.7071 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.2425, allocations: 4 kB / 0.7071 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2425, allocations: 0 / 0.7071 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.426e-05/0.2426, allocations: 97.89 kB / 0.7072 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2426, allocations: 0 / 0.7072 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003988/0.243, allocations: 11.94 kB / 0.7072 GB, free: 12.31 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.0009759/0.244, allocations: 0.7358 MB / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.2445, allocations: 83.86 kB / 0.708 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2445, allocations: 0 / 0.708 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.2447, allocations: 39.95 kB / 0.7081 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.2452, allocations: 1.969 kB / 0.7081 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.248, allocations: 1.432 MB / 0.7095 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.2485, allocations: 0.6926 MB / 0.7101 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.2486, allocations: 15.98 kB / 0.7102 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.2487, allocations: 19.44 kB / 0.7102 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.2487, allocations: 3.938 kB / 0.7102 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.282, allocations: 1.936 MB / 0.7121 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.08, allocations: 6.172 kB / 0.7121 GB, free: 7.352 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_Average.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.8541222260028] Failed to read output from testmodel.py, exit status != 0: 11.17728749899834 11.20008631 10.96105006 Calling exit ...