Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007106/0.007106, allocations: 100 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 192.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7847/0.7847, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.56 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002528/0.1364, allocations: 1.423 MB / 0.6606 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.1367, allocations: 104.5 kB / 0.6607 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.1367, allocations: 0 / 0.6607 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.745e-05/0.1368, allocations: 3.938 kB / 0.6607 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.1369, allocations: 8 kB / 0.6607 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1371, allocations: 19.92 kB / 0.6607 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.1372, allocations: 23.92 kB / 0.6607 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.1372, allocations: 8 kB / 0.6607 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.1373, allocations: 3.984 kB / 0.6607 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.1373, allocations: 19.91 kB / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1374, allocations: 4 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.1374, allocations: 15.98 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.1375, allocations: 8 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1375, allocations: 11.94 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1376, allocations: 40.11 kB / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1376, allocations: 0 / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1377, allocations: 0 / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1377, allocations: 0 / 0.6608 GB, free: 9.035 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004732/0.1381, allocations: 343.4 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1382, allocations: 15.91 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.1382, allocations: 38.73 kB / 0.6612 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.1383, allocations: 12.89 kB / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1384, allocations: 164.3 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1384, allocations: 4.375 kB / 0.6614 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1384, allocations: 4.359 kB / 0.6614 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1386, allocations: 50.23 kB / 0.6614 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1386, allocations: 3.938 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1386, allocations: 0 / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1387, allocations: 0 / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.1388, allocations: 43.95 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.1392, allocations: 257 kB / 0.6617 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1393, allocations: 42.44 kB / 0.6618 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.1394, allocations: 24.91 kB / 0.6618 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1395, allocations: 7.984 kB / 0.6618 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1395, allocations: 34.56 kB / 0.6618 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1395, allocations: 0 / 0.6618 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.1399, allocations: 93.53 kB / 0.6619 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1399, allocations: 51.41 kB / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.14, allocations: 105.8 kB / 0.6621 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.14, allocations: 29.83 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1401, allocations: 88.14 kB / 0.6622 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1401, allocations: 7.891 kB / 0.6622 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1402, allocations: 9.719 kB / 0.6622 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1403, allocations: 322.8 kB / 0.6625 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.1404, allocations: 11.98 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.1405, allocations: 19.98 kB / 0.6625 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1407, allocations: 44.88 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1407, allocations: 7.938 kB / 0.6626 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002136/0.1409, allocations: 69.59 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1409, allocations: 4 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1409, allocations: 0 / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1409, allocations: 8.031 kB / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.141, allocations: 4 kB / 0.6627 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.141, allocations: 0 / 0.6627 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1411, allocations: 7.984 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1411, allocations: 3.938 kB / 0.6627 GB, free: 6.902 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 (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 8.408e-05/0.1412, allocations: 118.7 kB / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1412, allocations: 0 / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1415, allocations: 89.12 kB / 0.6629 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1415, allocations: 256 / 0.6629 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1415, allocations: 3.938 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1415, allocations: 7.938 kB / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1417, allocations: 165.6 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1417, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.1418, allocations: 4 kB / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1418, allocations: 0 / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1418, allocations: 0 / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1418, allocations: 12.02 kB / 0.6631 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1418, allocations: 0 / 0.6631 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1421, allocations: 163.5 kB / 0.6632 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.1422, allocations: 81.11 kB / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1422, allocations: 0 / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1423, allocations: 7.984 kB / 0.6633 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1423, allocations: 4.031 kB / 0.6633 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1423, allocations: 0 / 0.6633 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.1424, allocations: 87.28 kB / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.124e-06/0.1424, allocations: 0 / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000224/0.1426, allocations: 11.94 kB / 0.6634 GB, free: 6.055 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 (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.0006118/0.1432, allocations: 0.7046 MB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1435, allocations: 43.95 kB / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1435, allocations: 0 / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.1436, allocations: 19.92 kB / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1439, allocations: 12.16 kB / 0.6642 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.1443, allocations: 143 kB / 0.6643 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1446, allocations: 0.6807 MB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1447, allocations: 0 / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.1447, allocations: 11.44 kB / 0.665 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1447, allocations: 0 / 0.665 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5043/0.649, allocations: 1.418 MB / 0.6664 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.871, allocations: 16.05 kB / 0.6664 GB, free: 3.008 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)