Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-master/package.mo", uses=false) 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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.935/0.935, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 68.12 kB / 0.5055 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1431, allocations: 80.93 MB / 0.5845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001713/0.1448, allocations: 0.5585 MB / 0.585 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000223/0.1451, allocations: 39.88 kB / 0.5851 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.137e-05/0.1451, allocations: 0 / 0.5851 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.588e-06/0.1451, allocations: 0 / 0.5851 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1451, allocations: 3.938 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1454, allocations: 15.94 kB / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.348e-05/0.1454, allocations: 0 / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1455, allocations: 3.984 kB / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.444e-05/0.1455, allocations: 4 kB / 0.5851 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.1455, allocations: 3.984 kB / 0.5851 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1455, allocations: 0 / 0.5851 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.1456, allocations: 15.98 kB / 0.5851 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.1456, allocations: 4 kB / 0.5851 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.1457, allocations: 3.938 kB / 0.5851 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.032e-05/0.1457, allocations: 15.98 kB / 0.5851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1458, allocations: 0 / 0.5851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1458, allocations: 0 / 0.5851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1458, allocations: 0 / 0.5851 GB, free: 3.727 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002573/0.146, allocations: 319.5 kB / 0.5854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1461, allocations: 8.031 kB / 0.5855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.1461, allocations: 30.75 kB / 0.5855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.016e-05/0.1461, allocations: 8.938 kB / 0.5855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.738e-05/0.1462, allocations: 164.4 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1462, allocations: 384 / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.1462, allocations: 384 / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.1463, allocations: 38.25 kB / 0.5857 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1464, allocations: 3.938 kB / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.1464, allocations: 0 / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1464, allocations: 0 / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.1464, allocations: 0 / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.1465, allocations: 153.7 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.156e-05/0.1466, allocations: 22.56 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.1466, allocations: 8.859 kB / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1466, allocations: 4.062 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.1466, allocations: 30.56 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1466, allocations: 0 / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.1468, allocations: 37.58 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1468, allocations: 59.53 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.307e-05/0.1468, allocations: 89.86 kB / 0.5861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.1469, allocations: 25.7 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.1469, allocations: 80.14 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1469, allocations: 11.83 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.147, allocations: 17.72 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.147, allocations: 310.8 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.1471, allocations: 0 / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.1471, allocations: 4 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.1471, allocations: 12.8 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1471, allocations: 0 / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.496e-05/0.1472, allocations: 41.62 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1472, allocations: 4 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1472, allocations: 3.938 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1472, allocations: 0 / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.1473, allocations: 4 kB / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1473, allocations: 0 / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.1473, allocations: 12.09 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1473, allocations: 0 / 0.5866 GB, free: 2.016 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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 5.833e-05/0.1474, allocations: 105.8 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.1474, allocations: 4 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.881e-05/0.1475, allocations: 40.75 kB / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1475, allocations: 32 / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1475, allocations: 4 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1475, allocations: 0 / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.306e-05/0.1476, allocations: 157.6 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1476, allocations: 0 / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.1476, allocations: 0 / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1476, allocations: 0 / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1476, allocations: 7.938 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1476, allocations: 0 / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1477, allocations: 0 / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.882e-05/0.1477, allocations: 61.12 kB / 0.5869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.1478, allocations: 81.11 kB / 0.587 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1478, allocations: 3.938 kB / 0.587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.1478, allocations: 0 / 0.587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.1478, allocations: 0 / 0.587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1478, allocations: 0 / 0.587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.793e-05/0.1479, allocations: 75.28 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1479, allocations: 4 kB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1481, allocations: 7.969 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0003493/0.1484, allocations: 0.6048 MB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.483e-05/0.1485, allocations: 4 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1485, allocations: 4 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.1485, allocations: 8.078 kB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1486, allocations: 6.281 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.1489, allocations: 114.6 kB / 0.5878 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1492, allocations: 0.669 MB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.1492, allocations: 11.92 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1492, allocations: 11.5 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1492, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.1648, allocations: 0.9795 MB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.208, allocations: 10.31 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)