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.001334/0.001334, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.001258/0.001258, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.388/1.388, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.8108/0.8108, allocations: 132.2 MB / 429.4 MB, free: 5.992 MB / 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 62.84 kB / 0.5894 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1485, allocations: 80.21 MB / 0.6677 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002753/0.1513, allocations: 1.523 MB / 0.6692 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.1516, allocations: 120.5 kB / 0.6693 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1517, allocations: 7.938 kB / 0.6693 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1518, allocations: 3.938 kB / 0.6693 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.749e-05/0.1518, allocations: 3.938 kB / 0.6693 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.152, allocations: 31.89 kB / 0.6694 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1522, allocations: 59.83 kB / 0.6694 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1523, allocations: 27.97 kB / 0.6694 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.1523, allocations: 19.92 kB / 0.6695 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.1524, allocations: 31.91 kB / 0.6695 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1524, allocations: 4 kB / 0.6695 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.1525, allocations: 15.94 kB / 0.6695 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1526, allocations: 15.92 kB / 0.6695 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.1526, allocations: 23.86 kB / 0.6695 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1527, allocations: 60.02 kB / 0.6696 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1528, allocations: 4 kB / 0.6696 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1528, allocations: 0 / 0.6696 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.1528, allocations: 4 kB / 0.6696 GB, free: 7.887 MB / 0.4981 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.0006053/0.1534, allocations: 383.1 kB / 0.67 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1534, allocations: 8.031 kB / 0.67 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.1535, allocations: 38.75 kB / 0.67 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.1535, allocations: 4.891 kB / 0.67 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1537, allocations: 180.3 kB / 0.6702 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1537, allocations: 20.25 kB / 0.6702 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1538, allocations: 384 / 0.6702 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1541, allocations: 86.2 kB / 0.6703 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1541, allocations: 3.938 kB / 0.6703 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1541, allocations: 0 / 0.6703 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1541, allocations: 4 kB / 0.6703 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1544, allocations: 83.91 kB / 0.6704 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.155, allocations: 332.6 kB / 0.6707 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1552, allocations: 58.53 kB / 0.6708 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1554, allocations: 44.95 kB / 0.6708 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1554, allocations: 0 / 0.6708 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1555, allocations: 38.55 kB / 0.6708 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1555, allocations: 0 / 0.6708 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005907/0.1561, allocations: 137.5 kB / 0.671 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1561, allocations: 55.41 kB / 0.671 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1562, allocations: 116.7 kB / 0.6711 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1562, allocations: 29.64 kB / 0.6712 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.1563, allocations: 96.08 kB / 0.6713 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1563, allocations: 11.89 kB / 0.6713 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1564, allocations: 17.72 kB / 0.6713 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1565, allocations: 318.8 kB / 0.6716 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1567, allocations: 39.89 kB / 0.6716 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1568, allocations: 35.95 kB / 0.6717 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.1571, allocations: 72.78 kB / 0.6717 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1571, allocations: 0 / 0.6717 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003392/0.1575, allocations: 101.6 kB / 0.6718 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1575, allocations: 4 kB / 0.6718 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1575, allocations: 3.984 kB / 0.6718 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1575, allocations: 0 / 0.6718 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1577, allocations: 19.98 kB / 0.6719 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1577, allocations: 0 / 0.6719 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.1578, allocations: 15.98 kB / 0.6719 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1578, allocations: 3.938 kB / 0.6719 GB, free: 5.336 MB / 0.4981 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.495e-05/0.1579, allocations: 121.8 kB / 0.672 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1579, allocations: 4.328 kB / 0.672 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.1583, allocations: 117.5 kB / 0.6721 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1584, allocations: 7.938 kB / 0.6721 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1584, allocations: 0 / 0.6721 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1584, allocations: 0 / 0.6721 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1586, allocations: 177.6 kB / 0.6723 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1586, allocations: 0 / 0.6723 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.1587, allocations: 19.97 kB / 0.6723 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1587, allocations: 0 / 0.6723 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1587, allocations: 4 kB / 0.6723 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1587, allocations: 0 / 0.6723 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1587, allocations: 3.938 kB / 0.6723 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.1591, allocations: 203.4 kB / 0.6725 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1592, allocations: 85.06 kB / 0.6726 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1592, allocations: 4 kB / 0.6726 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1593, allocations: 15.98 kB / 0.6726 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1594, allocations: 3.984 kB / 0.6726 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1594, allocations: 3.938 kB / 0.6726 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.1595, allocations: 95.27 kB / 0.6727 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1595, allocations: 0 / 0.6727 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002299/0.1597, allocations: 11.94 kB / 0.6727 GB, free: 4.363 MB / 0.4981 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.0007548/0.1605, allocations: 0.7435 MB / 0.6734 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1609, allocations: 75.92 kB / 0.6735 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1609, allocations: 0 / 0.6735 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.161, allocations: 39.95 kB / 0.6736 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1614, allocations: 4 kB / 0.6736 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1633, allocations: 1.427 MB / 0.6749 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1636, allocations: 0.6924 MB / 0.6756 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.1637, allocations: 8.234 kB / 0.6756 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.1637, allocations: 15.44 kB / 0.6756 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1637, allocations: 0 / 0.6756 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1855, allocations: 1.817 MB / 0.6774 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.081, allocations: 7 kB / 0.6774 GB, free: 15.48 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.550345355994068] Failed to read output from testmodel.py, exit status != 0: 8.150642027030699 8.164155375 8.008953436 Calling exit ...