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/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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 172.5 kB / 7.647 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 1.03/1.03, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.489/1.489, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008796/0.0008797, allocations: 102.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 6.531e-05/6.545e-05, allocations: 8 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4936, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.6403, allocations: 109.8 MB / 0.7412 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.6406, allocations: 75.95 kB / 0.7413 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001126/0.6417, allocations: 479 kB / 0.7417 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6417, allocations: 0 / 0.7417 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.6418, allocations: 0 / 0.7417 GB, free: 12.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002819/0.642, allocations: 314.6 kB / 0.742 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6421, allocations: 8.031 kB / 0.742 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.6421, allocations: 8 kB / 0.7421 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.6422, allocations: 163 kB / 0.7422 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6423, allocations: 0 / 0.7422 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.6423, allocations: 0 / 0.7422 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.635e-05/0.6423, allocations: 0 / 0.7422 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.6424, allocations: 37.62 kB / 0.7422 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6424, allocations: 0 / 0.7422 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6425, allocations: 3.938 kB / 0.7422 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.6425, allocations: 3.984 kB / 0.7423 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.6426, allocations: 126.2 kB / 0.7424 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.6427, allocations: 26.02 kB / 0.7424 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.6427, allocations: 8.859 kB / 0.7424 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.6428, allocations: 0 / 0.7424 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6428, allocations: 38.62 kB / 0.7424 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.6428, allocations: 0 / 0.7424 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001983/0.643, allocations: 37.62 kB / 0.7425 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.643, allocations: 55.44 kB / 0.7425 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.028e-05/0.6431, allocations: 85 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.6431, allocations: 25.7 kB / 0.7426 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.6432, allocations: 80.14 kB / 0.7427 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.6432, allocations: 3.906 kB / 0.7427 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.6432, allocations: 3.938 kB / 0.7427 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6433, allocations: 314.8 kB / 0.743 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.6433, allocations: 0 / 0.743 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.6434, allocations: 4 kB / 0.743 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.6434, allocations: 7.984 kB / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6434, allocations: 0 / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.093e-05/0.6435, allocations: 33.7 kB / 0.7431 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6435, allocations: 7.953 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6435, allocations: 0 / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6435, allocations: 4 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.6436, allocations: 3.938 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.6436, allocations: 0 / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.6436, allocations: 4.031 kB / 0.7431 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.6437, allocations: 8 kB / 0.7431 GB, free: 10.73 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 (1): * Single equations (assignments): 1 * 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 7.269e-05/0.6437, allocations: 105 kB / 0.7432 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.098e-05/0.6438, allocations: 29.7 kB / 0.7432 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-06/0.6438, allocations: 3.953 kB / 0.7432 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.644, allocations: 41.44 kB / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.644, allocations: 8 kB / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.644, allocations: 0 / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.644, allocations: 0 / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.928e-05/0.6441, allocations: 130.2 kB / 0.7434 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6441, allocations: 0 / 0.7434 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.6441, allocations: 3.984 kB / 0.7434 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6441, allocations: 3.953 kB / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6441, allocations: 0 / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.6441, allocations: 4 kB / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6441, allocations: 0 / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.6442, allocations: 57.08 kB / 0.7435 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.6443, allocations: 81.09 kB / 0.7435 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.6443, allocations: 7.953 kB / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.6443, allocations: 0 / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.6443, allocations: 0 / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.6443, allocations: 0 / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.6444, allocations: 75.28 kB / 0.7436 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.864e-06/0.6444, allocations: 0 / 0.7436 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001851/0.6446, allocations: 15.97 kB / 0.7436 GB, free: 10.09 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 (1): * Single equations (assignments): 1 * 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.000504/0.6451, allocations: 0.5968 MB / 0.7442 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.6452, allocations: 4 kB / 0.7442 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6452, allocations: 0 / 0.7442 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.6452, allocations: 8.094 kB / 0.7442 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.6453, allocations: 9.828 kB / 0.7442 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.6456, allocations: 77.64 kB / 0.7443 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.6459, allocations: 0.6768 MB / 0.745 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.646, allocations: 4 kB / 0.745 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.646, allocations: 15.5 kB / 0.745 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.646, allocations: 0 / 0.745 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.6687, allocations: 0.528 MB / 0.7455 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.6689, allocations: 133.9 kB / 0.7456 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.403/2.072, allocations: 0 / 0.7456 GB, free: 7.891 MB / 0.5261 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/linux/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)