Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_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.001831/0.001831, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5135/0.5135, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 102.5 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.787e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1736, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5479/0.7215, allocations: 100.1 MB / 0.6513 GB, free: 9.957 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.7218, allocations: 72.89 kB / 0.6514 GB, free: 9.914 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00119/0.723, allocations: 486.4 kB / 0.6519 GB, free: 9.465 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7231, allocations: 0 / 0.6519 GB, free: 9.465 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.7231, allocations: 4 kB / 0.6519 GB, free: 9.461 MB / 458.7 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.0002809/0.7234, allocations: 308.3 kB / 0.6522 GB, free: 9.121 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7234, allocations: 12.09 kB / 0.6522 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.7235, allocations: 3.953 kB / 0.6522 GB, free: 9.105 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.7236, allocations: 167.7 kB / 0.6523 GB, free: 8.906 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.7236, allocations: 0.75 kB / 0.6523 GB, free: 8.906 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.7236, allocations: 4 kB / 0.6524 GB, free: 8.902 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.91e-05/0.7237, allocations: 7.938 kB / 0.6524 GB, free: 8.895 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.799e-05/0.7237, allocations: 25.7 kB / 0.6524 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7238, allocations: 0 / 0.6524 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.7238, allocations: 0 / 0.6524 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7238, allocations: 3.953 kB / 0.6524 GB, free: 8.859 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.7239, allocations: 130.9 kB / 0.6525 GB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.6e-05/0.724, allocations: 21.25 kB / 0.6525 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.724, allocations: 12.42 kB / 0.6525 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.724, allocations: 4.094 kB / 0.6525 GB, free: 8.652 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.7241, allocations: 30.56 kB / 0.6526 GB, free: 8.613 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 3.176e-06/0.7241, allocations: 0 / 0.6526 GB, free: 8.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001751/0.7243, allocations: 33.64 kB / 0.6526 GB, free: 8.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.7243, allocations: 51.41 kB / 0.6527 GB, free: 8.512 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.181e-05/0.7244, allocations: 85 kB / 0.6527 GB, free: 8.422 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.7244, allocations: 25.7 kB / 0.6528 GB, free: 8.391 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.7244, allocations: 84.17 kB / 0.6528 GB, free: 8.305 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.7245, allocations: 7.906 kB / 0.6529 GB, free: 8.297 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.7245, allocations: 0 / 0.6529 GB, free: 8.297 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7246, allocations: 322.4 kB / 0.6532 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.7246, allocations: 0 / 0.6532 GB, free: 7.977 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.7246, allocations: 0 / 0.6532 GB, free: 7.977 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.7247, allocations: 4 kB / 0.6532 GB, free: 7.973 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7247, allocations: 0 / 0.6532 GB, free: 7.973 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.423e-05/0.7248, allocations: 37.7 kB / 0.6532 GB, free: 7.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7248, allocations: 8 kB / 0.6532 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7248, allocations: 0 / 0.6532 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.7248, allocations: 3.984 kB / 0.6532 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.7249, allocations: 0 / 0.6532 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.7249, allocations: 0 / 0.6532 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.7249, allocations: 7.938 kB / 0.6532 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.7249, allocations: 0 / 0.6532 GB, free: 7.91 MB / 458.7 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 () * 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 8.113e-05/0.725, allocations: 108.9 kB / 0.6533 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.31e-05/0.7251, allocations: 40.05 kB / 0.6534 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.7251, allocations: 3.984 kB / 0.6534 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.7252, allocations: 41.08 kB / 0.6534 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7252, allocations: 0 / 0.6534 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7252, allocations: 4 kB / 0.6534 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.7252, allocations: 0 / 0.6534 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.958e-05/0.7253, allocations: 130.2 kB / 0.6535 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7253, allocations: 4.062 kB / 0.6535 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.7254, allocations: 4 kB / 0.6535 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7254, allocations: 0 / 0.6535 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.7254, allocations: 0 / 0.6535 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.7254, allocations: 0 / 0.6535 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7254, allocations: 0 / 0.6535 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.022e-05/0.7255, allocations: 64.7 kB / 0.6536 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.7255, allocations: 81.09 kB / 0.6537 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.7256, allocations: 4.031 kB / 0.6537 GB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.137e-05/0.7256, allocations: 7.562 kB / 0.6537 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.7256, allocations: 0 / 0.6537 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.7256, allocations: 4 kB / 0.6537 GB, free: 7.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.7256, allocations: 79.22 kB / 0.6538 GB, free: 7.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7257, allocations: 0 / 0.6538 GB, free: 7.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.7258, allocations: 4 kB / 0.6538 GB, free: 7.266 MB / 458.7 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 () * 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.0004472/0.7263, allocations: 0.6004 MB / 0.6544 GB, free: 6.637 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.7264, allocations: 3.984 kB / 0.6544 GB, free: 6.633 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7264, allocations: 4 kB / 0.6544 GB, free: 6.629 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-06/0.7264, allocations: 0 / 0.6544 GB, free: 6.629 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.7265, allocations: 0 / 0.6544 GB, free: 6.629 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.7267, allocations: 81.77 kB / 0.6544 GB, free: 6.512 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.7271, allocations: 0.6768 MB / 0.6551 GB, free: 5.809 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.7271, allocations: 4 kB / 0.6551 GB, free: 5.805 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.7271, allocations: 7.438 kB / 0.6551 GB, free: 5.797 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7271, allocations: 0 / 0.6551 GB, free: 5.797 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.745, allocations: 0.5279 MB / 0.6556 GB, free: 5.277 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/0.7454, allocations: 137 kB / 0.6558 GB, free: 5.086 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.229, allocations: 0 / 0.6558 GB, free: 5.086 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)