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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005607/0.005607, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001365/0.001365, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9768/0.9768, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.88 kB / 0.5858 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4249, allocations: 81.02 MB / 0.6649 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002186/0.4271, allocations: 1.427 MB / 0.6663 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.4274, allocations: 98.98 kB / 0.6664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.4275, allocations: 0 / 0.6664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.846e-05/0.4276, allocations: 1.188 kB / 0.6664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.4276, allocations: 5.031 kB / 0.6664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.4278, allocations: 21.19 kB / 0.6664 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.4279, allocations: 30.77 kB / 0.6664 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.428, allocations: 10.41 kB / 0.6664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.428, allocations: 11.8 kB / 0.6664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.4281, allocations: 7.062 kB / 0.6665 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.4281, allocations: 1.5 kB / 0.6665 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.4282, allocations: 25.31 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.4282, allocations: 9.5 kB / 0.6665 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.4282, allocations: 10.25 kB / 0.6665 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.4284, allocations: 36.67 kB / 0.6665 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4284, allocations: 0 / 0.6665 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4284, allocations: 5.406 kB / 0.6665 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.4284, allocations: 0 / 0.6665 GB, free: 5.562 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.0003536/0.4287, allocations: 345.2 kB / 0.6669 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4288, allocations: 9.594 kB / 0.6669 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.03e-05/0.4288, allocations: 40.11 kB / 0.6669 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.4288, allocations: 2.156 kB / 0.6669 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.4289, allocations: 167.2 kB / 0.6671 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.4289, allocations: 384 / 0.6671 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.4289, allocations: 9.484 kB / 0.6671 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4291, allocations: 55.89 kB / 0.6671 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4291, allocations: 3.938 kB / 0.6671 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.4291, allocations: 0 / 0.6671 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4291, allocations: 0 / 0.6671 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.4293, allocations: 37.92 kB / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.4295, allocations: 252.4 kB / 0.6674 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4297, allocations: 49.72 kB / 0.6675 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.4297, allocations: 20.03 kB / 0.6675 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.4298, allocations: 6.656 kB / 0.6675 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.4298, allocations: 36.02 kB / 0.6675 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4298, allocations: 0 / 0.6675 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003271/0.4301, allocations: 88.27 kB / 0.6676 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.4302, allocations: 52.47 kB / 0.6677 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/0.4302, allocations: 109.7 kB / 0.6678 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.4302, allocations: 26.95 kB / 0.6678 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.4303, allocations: 85.5 kB / 0.6679 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.4303, allocations: 7.953 kB / 0.6679 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.4303, allocations: 16.47 kB / 0.6679 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.4304, allocations: 312.3 kB / 0.6682 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.4305, allocations: 26.34 kB / 0.6682 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.4305, allocations: 14.45 kB / 0.6682 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4307, allocations: 50.5 kB / 0.6683 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4307, allocations: 5.125 kB / 0.6683 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.4309, allocations: 67.55 kB / 0.6683 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.4309, allocations: 11.38 kB / 0.6684 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4309, allocations: 3.984 kB / 0.6684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4309, allocations: 3.938 kB / 0.6684 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.431, allocations: 7.031 kB / 0.6684 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.431, allocations: 0 / 0.6684 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.4311, allocations: 11.77 kB / 0.6684 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4311, allocations: 1.438 kB / 0.6684 GB, free: 3.676 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 4.451e-05/0.4311, allocations: 114.8 kB / 0.6685 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.4312, allocations: 2.812 kB / 0.6685 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.4314, allocations: 73.77 kB / 0.6686 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4314, allocations: 0 / 0.6686 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4314, allocations: 5.188 kB / 0.6686 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4314, allocations: 0 / 0.6686 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.4315, allocations: 168.1 kB / 0.6687 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4315, allocations: 3.984 kB / 0.6687 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.4316, allocations: 10.09 kB / 0.6687 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4316, allocations: 1.156 kB / 0.6687 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4316, allocations: 0 / 0.6687 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4316, allocations: 1.125 kB / 0.6687 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4316, allocations: 0 / 0.6687 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4318, allocations: 178.5 kB / 0.6689 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.4318, allocations: 78.33 kB / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.4318, allocations: 0 / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.4319, allocations: 3.969 kB / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.432, allocations: 5.266 kB / 0.669 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.432, allocations: 1.281 kB / 0.669 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.549e-05/0.432, allocations: 88.31 kB / 0.6691 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.432, allocations: 0 / 0.6691 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002181/0.4322, allocations: 8.25 kB / 0.6691 GB, free: 2.938 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.0003919/0.4326, allocations: 0.7102 MB / 0.6698 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4328, allocations: 47.3 kB / 0.6698 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4329, allocations: 0 / 0.6698 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.4329, allocations: 21.7 kB / 0.6699 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.4332, allocations: 5.25 kB / 0.6699 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.4336, allocations: 146.5 kB / 0.67 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.174e-05/0.4337, allocations: 0.6818 MB / 0.6707 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.4337, allocations: 5.188 kB / 0.6707 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.4337, allocations: 12.69 kB / 0.6707 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4337, allocations: 0 / 0.6707 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.4559, allocations: 1.415 MB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.427, allocations: 6.781 kB / 0.6721 GB, free: 0.5156 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)