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.001468/0.001468, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001202/0.001202, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9788/0.9788, allocations: 175.7 MB / 480.1 MB, free: 2.84 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 69.11 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1708, allocations: 94.53 MB / 0.7601 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.00263/0.1734, allocations: 1.562 MB / 0.7616 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.1737, allocations: 111.5 kB / 0.7617 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.1738, allocations: 0 / 0.7617 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1739, allocations: 3.938 kB / 0.7617 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.1739, allocations: 19.84 kB / 0.7617 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1741, allocations: 23.97 kB / 0.7617 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1742, allocations: 59.78 kB / 0.7618 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1743, allocations: 23.92 kB / 0.7618 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.1744, allocations: 31.91 kB / 0.7619 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.1745, allocations: 31.84 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1745, allocations: 4 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.1745, allocations: 11.98 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.1746, allocations: 12 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.1746, allocations: 27.8 kB / 0.7619 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1748, allocations: 59.73 kB / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1748, allocations: 0 / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1748, allocations: 4 kB / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1748, allocations: 0 / 0.762 GB, free: 14.84 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.0005433/0.1753, allocations: 383.2 kB / 0.7624 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1753, allocations: 8.031 kB / 0.7624 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1754, allocations: 38.73 kB / 0.7624 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1754, allocations: 4.938 kB / 0.7624 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1756, allocations: 184.2 kB / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1756, allocations: 4.375 kB / 0.7626 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1756, allocations: 8.375 kB / 0.7626 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.1759, allocations: 82.2 kB / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1759, allocations: 3.938 kB / 0.7627 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1759, allocations: 4 kB / 0.7627 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1759, allocations: 7.938 kB / 0.7627 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.1762, allocations: 87.78 kB / 0.7628 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.1768, allocations: 324.7 kB / 0.7631 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.177, allocations: 58.56 kB / 0.7631 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1771, allocations: 44.91 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.1772, allocations: 4 kB / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1772, allocations: 30.56 kB / 0.7632 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1772, allocations: 0 / 0.7632 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005354/0.1777, allocations: 137.5 kB / 0.7634 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1778, allocations: 55.41 kB / 0.7634 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.1779, allocations: 121.7 kB / 0.7635 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1779, allocations: 25.7 kB / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.178, allocations: 96.08 kB / 0.7636 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.178, allocations: 11.89 kB / 0.7637 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.178, allocations: 13.72 kB / 0.7637 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1781, allocations: 326.8 kB / 0.764 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1783, allocations: 35.95 kB / 0.764 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1784, allocations: 31.97 kB / 0.764 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1787, allocations: 72.78 kB / 0.7641 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1787, allocations: 0 / 0.7641 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003223/0.179, allocations: 109.6 kB / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.179, allocations: 4 kB / 0.7642 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.179, allocations: 0 / 0.7642 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1791, allocations: 4.266 kB / 0.7642 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1792, allocations: 15.98 kB / 0.7642 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1792, allocations: 4 kB / 0.7642 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.1793, allocations: 15.97 kB / 0.7643 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1793, allocations: 0 / 0.7643 GB, free: 12.29 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 8.993e-05/0.1794, allocations: 117.8 kB / 0.7644 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1794, allocations: 7.953 kB / 0.7644 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.1798, allocations: 121.5 kB / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1798, allocations: 4 kB / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1798, allocations: 3.938 kB / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1798, allocations: 0 / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.18, allocations: 181.6 kB / 0.7647 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.18, allocations: 0 / 0.7647 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.1801, allocations: 19.92 kB / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1801, allocations: 0 / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1801, allocations: 4 kB / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1801, allocations: 4 kB / 0.7647 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1801, allocations: 0 / 0.7647 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.1804, allocations: 199.4 kB / 0.7649 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1805, allocations: 85.06 kB / 0.765 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1805, allocations: 7.922 kB / 0.765 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1806, allocations: 11.98 kB / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1807, allocations: 4 kB / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1807, allocations: 0 / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.1807, allocations: 91.27 kB / 0.7651 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1807, allocations: 0 / 0.7651 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002305/0.181, allocations: 15.94 kB / 0.7651 GB, free: 11.32 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.0007251/0.1817, allocations: 0.7474 MB / 0.7658 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.182, allocations: 79.91 kB / 0.7659 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.182, allocations: 0 / 0.7659 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1822, allocations: 39.89 kB / 0.7659 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1824, allocations: 8 kB / 0.7659 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1843, allocations: 1.428 MB / 0.7673 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1846, allocations: 0.6923 MB / 0.768 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.1846, allocations: 4 kB / 0.768 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1847, allocations: 19.42 kB / 0.768 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1847, allocations: 7.938 kB / 0.768 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.208, allocations: 1.799 MB / 0.7698 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.268, allocations: 7.141 kB / 0.7698 GB, free: 6.449 MB / 0.5762 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Average.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.679956906998996]