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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8799/0.8799, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.5 MB / 395.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008259, allocations: 102.9 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.495e-05/1.497e-05, allocations: 8 kB / 0.5534 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4759, allocations: 82.31 MB / 0.6338 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.6201, allocations: 110.6 MB / 0.7418 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.6204, allocations: 75.94 kB / 0.7419 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002286/0.6227, allocations: 0.7836 MB / 0.7427 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6227, allocations: 0 / 0.7427 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6227, allocations: 0 / 0.7427 GB, free: 11.34 MB / 0.5261 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.000358/0.6231, allocations: 334.5 kB / 0.743 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6231, allocations: 12.03 kB / 0.743 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.6232, allocations: 3.906 kB / 0.743 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6233, allocations: 167 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.6233, allocations: 4 kB / 0.7431 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.6233, allocations: 0 / 0.7431 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.305e-05/0.6234, allocations: 19.97 kB / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.867e-05/0.6235, allocations: 49.56 kB / 0.7432 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6235, allocations: 0 / 0.7432 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6236, allocations: 0 / 0.7432 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6236, allocations: 0 / 0.7432 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.624, allocations: 256.8 kB / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.624, allocations: 26.58 kB / 0.7435 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.6241, allocations: 12.92 kB / 0.7435 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.6241, allocations: 0 / 0.7435 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.6241, allocations: 34.56 kB / 0.7435 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.6241, allocations: 0 / 0.7435 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.6243, allocations: 57.53 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.6244, allocations: 51.41 kB / 0.7436 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.6244, allocations: 96.98 kB / 0.7437 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.6245, allocations: 25.7 kB / 0.7438 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.6245, allocations: 92.08 kB / 0.7438 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.6246, allocations: 7.844 kB / 0.7438 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6246, allocations: 0 / 0.7438 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6247, allocations: 314.8 kB / 0.7441 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.6247, allocations: 16.02 kB / 0.7442 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.6247, allocations: 4 kB / 0.7442 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.6248, allocations: 8 kB / 0.7442 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6248, allocations: 4 kB / 0.7442 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.649e-05/0.6249, allocations: 45.69 kB / 0.7442 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6249, allocations: 8.719 kB / 0.7442 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6249, allocations: 256 / 0.7442 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6249, allocations: 0 / 0.7442 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.625, allocations: 20.08 kB / 0.7442 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.625, allocations: 4 kB / 0.7443 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.6251, allocations: 7.984 kB / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.6251, allocations: 0 / 0.7443 GB, free: 9.492 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.6252, allocations: 108.9 kB / 0.7444 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.6252, allocations: 0 / 0.7444 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.6253, allocations: 53.66 kB / 0.7444 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.6254, allocations: 4.031 kB / 0.7444 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6254, allocations: 4 kB / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.6254, allocations: 0 / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6255, allocations: 138.2 kB / 0.7446 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6255, allocations: 0 / 0.7446 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.6256, allocations: 15.94 kB / 0.7446 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6256, allocations: 3.938 kB / 0.7446 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.6256, allocations: 4 kB / 0.7446 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6256, allocations: 0 / 0.7446 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6256, allocations: 3.938 kB / 0.7446 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.6258, allocations: 143.5 kB / 0.7447 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.6258, allocations: 77.11 kB / 0.7448 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6258, allocations: 7.953 kB / 0.7448 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.6259, allocations: 7.984 kB / 0.7448 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.6259, allocations: 4 kB / 0.7448 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.626, allocations: 4.031 kB / 0.7448 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.626, allocations: 87.27 kB / 0.7449 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.626, allocations: 3.938 kB / 0.7449 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002068/0.6262, allocations: 8 kB / 0.7449 GB, free: 8.746 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.6264, allocations: 99.25 kB / 0.745 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.6265, allocations: 19.94 kB / 0.745 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6265, allocations: 0 / 0.745 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.6265, allocations: 12 kB / 0.745 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.6267, allocations: 8.109 kB / 0.745 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.6269, allocations: 63.98 kB / 0.7451 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6272, allocations: 0.6807 MB / 0.7458 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.6273, allocations: 192 / 0.7458 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.6273, allocations: 11.44 kB / 0.7458 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/0.6273, allocations: 0 / 0.7458 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of Templates: time 0.002382/0.6297, allocations: 445.4 kB / 0.7462 GB, free: 7.363 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)