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.001597/0.001597, allocations: 108 kB / 15.6 MB, free: 128 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.002167/0.002167, allocations: 197.3 kB / 16.53 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9375/0.9375, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.83 kB / 0.5055 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001699/0.1413, allocations: 0.574 MB / 0.585 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.1415, allocations: 31.88 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.1415, allocations: 0 / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1415, allocations: 0 / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.158e-06/0.1415, allocations: 0 / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1418, allocations: 15.97 kB / 0.5851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.837e-05/0.1418, allocations: 8 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1419, allocations: 0 / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.187e-05/0.1419, allocations: 0 / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.975e-05/0.1419, allocations: 4 kB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1419, allocations: 0 / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.834e-05/0.142, allocations: 23.92 kB / 0.5851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.142, allocations: 3.984 kB / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.1421, allocations: 3.938 kB / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1422, allocations: 15.97 kB / 0.5851 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1422, allocations: 0 / 0.5851 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1422, allocations: 4 kB / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1422, allocations: 0 / 0.5852 GB, free: 3.758 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.0003445/0.1426, allocations: 319.6 kB / 0.5855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1426, allocations: 8.031 kB / 0.5855 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.1427, allocations: 30.75 kB / 0.5855 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1427, allocations: 0.9375 kB / 0.5855 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1428, allocations: 160.4 kB / 0.5856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1428, allocations: 4.375 kB / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.1428, allocations: 384 / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1429, allocations: 34.2 kB / 0.5857 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.143, allocations: 3.938 kB / 0.5857 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.143, allocations: 0 / 0.5857 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.143, allocations: 4 kB / 0.5857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.143, allocations: 3.984 kB / 0.5857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1432, allocations: 145.7 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.1432, allocations: 22.61 kB / 0.5859 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.1432, allocations: 4.859 kB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1433, allocations: 8.062 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.1433, allocations: 38.44 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1433, allocations: 0 / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000144/0.1435, allocations: 41.62 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1435, allocations: 51.41 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/0.1436, allocations: 89.86 kB / 0.5861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1436, allocations: 29.7 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.1437, allocations: 84.27 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1437, allocations: 3.906 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.1437, allocations: 13.66 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1439, allocations: 310.8 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1439, allocations: 4 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.1439, allocations: 3.984 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.1439, allocations: 16.8 kB / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1439, allocations: 0 / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.445e-05/0.144, allocations: 33.77 kB / 0.5866 GB, free: 2.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.144, allocations: 8 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1441, allocations: 3.938 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1441, allocations: 0 / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.1441, allocations: 0 / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1441, allocations: 0 / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.1442, allocations: 4 kB / 0.5866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1442, allocations: 3.984 kB / 0.5866 GB, free: 2.062 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 7.13e-05/0.1443, allocations: 105.8 kB / 0.5867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.1443, allocations: 4.031 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1444, allocations: 56.67 kB / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1444, allocations: 0 / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1444, allocations: 4 kB / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1444, allocations: 0 / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.1445, allocations: 141.7 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1445, allocations: 4 kB / 0.5869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.1445, allocations: 4.031 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1446, allocations: 0 / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.1446, allocations: 3.938 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1446, allocations: 0 / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1446, allocations: 7.984 kB / 0.5869 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.978e-05/0.1447, allocations: 57.08 kB / 0.5869 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.1447, allocations: 77.11 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1447, allocations: 7.938 kB / 0.587 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.1447, allocations: 4.031 kB / 0.587 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.1448, allocations: 3.984 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1448, allocations: 0 / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.1448, allocations: 75.28 kB / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 3.938 kB / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.145, allocations: 4 kB / 0.5871 GB, free: 1.406 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.0004269/0.1455, allocations: 0.6048 MB / 0.5877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.1455, allocations: 11.94 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1455, allocations: 0 / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.1456, allocations: 4 kB / 0.5877 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1457, allocations: 0 / 0.5877 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.146, allocations: 114.7 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1463, allocations: 0.6729 MB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.1463, allocations: 4 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.1463, allocations: 7.438 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1463, allocations: 0 / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.1625, allocations: 0.9864 MB / 0.5895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.347, allocations: 12.58 kB / 0.5895 GB, free: 14.99 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)