Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.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.001424/0.001424, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.00143/0.00143, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.191 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.982/0.982, allocations: 175.7 MB / 480.1 MB, free: 2.809 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.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 69.36 kB / 0.6678 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 94.53 MB / 0.7601 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002436/0.1575, allocations: 1.452 MB / 0.7615 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.1578, allocations: 105.8 kB / 0.7616 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.1578, allocations: 0 / 0.7616 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.1579, allocations: 7.938 kB / 0.7616 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.1579, allocations: 3.938 kB / 0.7616 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1581, allocations: 15.98 kB / 0.7616 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.1582, allocations: 23.92 kB / 0.7616 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.1582, allocations: 4 kB / 0.7616 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.1583, allocations: 11.92 kB / 0.7617 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.358e-05/0.1583, allocations: 7.938 kB / 0.7617 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1583, allocations: 4 kB / 0.7617 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.1584, allocations: 23.97 kB / 0.7617 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.1584, allocations: 4 kB / 0.7617 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1585, allocations: 15.92 kB / 0.7617 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1586, allocations: 39.83 kB / 0.7618 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1586, allocations: 0 / 0.7618 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1586, allocations: 0 / 0.7618 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1586, allocations: 0 / 0.7618 GB, free: 15.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004264/0.159, allocations: 347.3 kB / 0.7621 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.159, allocations: 12.02 kB / 0.7621 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.1591, allocations: 34.75 kB / 0.7621 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.1591, allocations: 4.891 kB / 0.7621 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1592, allocations: 164.4 kB / 0.7623 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1592, allocations: 4.375 kB / 0.7623 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1592, allocations: 4.375 kB / 0.7623 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1594, allocations: 50.23 kB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1594, allocations: 3.938 kB / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1594, allocations: 0 / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1594, allocations: 4 kB / 0.7624 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1596, allocations: 43.89 kB / 0.7624 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.1599, allocations: 256.9 kB / 0.7626 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.16, allocations: 38.56 kB / 0.7627 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.1601, allocations: 24.84 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.1601, allocations: 7.984 kB / 0.7627 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1602, allocations: 34.56 kB / 0.7627 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1602, allocations: 3.938 kB / 0.7627 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.1605, allocations: 93.53 kB / 0.7628 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1605, allocations: 55.34 kB / 0.7629 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.1606, allocations: 105.8 kB / 0.763 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1607, allocations: 29.83 kB / 0.763 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1607, allocations: 88.14 kB / 0.7631 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1607, allocations: 7.938 kB / 0.7631 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1607, allocations: 9.719 kB / 0.7631 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1609, allocations: 322.8 kB / 0.7634 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.161, allocations: 11.98 kB / 0.7634 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.161, allocations: 19.98 kB / 0.7635 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1612, allocations: 44.88 kB / 0.7635 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1612, allocations: 7.938 kB / 0.7635 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.1614, allocations: 69.59 kB / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1614, allocations: 4 kB / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1614, allocations: 0 / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1614, allocations: 8.031 kB / 0.7636 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.1615, allocations: 8 kB / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1615, allocations: 0 / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.1615, allocations: 7.984 kB / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1615, allocations: 0 / 0.7636 GB, free: 13.12 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 (2): * Single equations (assignments): 2 * 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 7.482e-05/0.1616, allocations: 113.8 kB / 0.7637 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1616, allocations: 3.953 kB / 0.7637 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1619, allocations: 93.09 kB / 0.7638 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1619, allocations: 0 / 0.7638 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1619, allocations: 0 / 0.7638 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1619, allocations: 0 / 0.7638 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.162, allocations: 165.6 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.162, allocations: 0 / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.1621, allocations: 4 kB / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1621, allocations: 0 / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.1621, allocations: 0 / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1621, allocations: 8.234 kB / 0.764 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1621, allocations: 4.031 kB / 0.764 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1623, allocations: 167.5 kB / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.1624, allocations: 89 kB / 0.7642 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.1624, allocations: 0 / 0.7642 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.1625, allocations: 7.984 kB / 0.7642 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1625, allocations: 11.97 kB / 0.7642 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1625, allocations: 0 / 0.7642 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.1626, allocations: 83.28 kB / 0.7643 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1626, allocations: 0 / 0.7643 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002077/0.1628, allocations: 11.94 kB / 0.7643 GB, free: 12.26 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 (2): * Single equations (assignments): 2 * 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.0005475/0.1633, allocations: 0.7085 MB / 0.765 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1635, allocations: 43.89 kB / 0.7651 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1635, allocations: 0 / 0.7651 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.1636, allocations: 15.98 kB / 0.7651 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1638, allocations: 15.84 kB / 0.7651 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1642, allocations: 139.2 kB / 0.7652 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1645, allocations: 0.6806 MB / 0.7659 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.1645, allocations: 4 kB / 0.7659 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.1646, allocations: 11.44 kB / 0.7659 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1646, allocations: 0 / 0.7659 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.1859, allocations: 1.412 MB / 0.7673 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.252, allocations: 4.062 kB / 0.7673 GB, free: 9.227 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.623948111999198]