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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 103.3 kB / 16.4 MB, free: 6.5 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.001161/0.001161, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7384/0.7384, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.69 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 76.18 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001666/0.1406, allocations: 0.5727 MB / 0.6322 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.1408, allocations: 35.88 kB / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.165e-05/0.1409, allocations: 0 / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.1409, allocations: 0 / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.1409, allocations: 0 / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1412, allocations: 8 kB / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.15e-05/0.1413, allocations: 7.969 kB / 0.6322 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1413, allocations: 4 kB / 0.6322 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.1413, allocations: 7.938 kB / 0.6322 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.1414, allocations: 4 kB / 0.6323 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1414, allocations: 0 / 0.6323 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.1415, allocations: 23.86 kB / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1415, allocations: 0 / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.1415, allocations: 0 / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.22e-05/0.1416, allocations: 15.97 kB / 0.6323 GB, free: 4.203 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1416, allocations: 0 / 0.6323 GB, free: 4.203 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1416, allocations: 0 / 0.6323 GB, free: 4.203 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1416, allocations: 0 / 0.6323 GB, free: 4.203 MB / 478.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.0002897/0.1419, allocations: 323.6 kB / 0.6326 GB, free: 3.836 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.142, allocations: 8.031 kB / 0.6326 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.142, allocations: 30.75 kB / 0.6326 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.1421, allocations: 4.938 kB / 0.6326 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.1421, allocations: 164.4 kB / 0.6328 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1422, allocations: 384 / 0.6328 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.1422, allocations: 384 / 0.6328 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.1423, allocations: 30.2 kB / 0.6328 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1423, allocations: 3.938 kB / 0.6328 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1423, allocations: 8 kB / 0.6328 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1423, allocations: 0 / 0.6328 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.1423, allocations: 3.984 kB / 0.6328 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1425, allocations: 149.7 kB / 0.633 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.1425, allocations: 18.61 kB / 0.633 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.1426, allocations: 4.859 kB / 0.633 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.1426, allocations: 4.062 kB / 0.633 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1426, allocations: 38.5 kB / 0.633 GB, free: 3.254 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1426, allocations: 0 / 0.633 GB, free: 3.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.1428, allocations: 37.64 kB / 0.6331 GB, free: 3.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1429, allocations: 55.34 kB / 0.6331 GB, free: 3.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.653e-05/0.1429, allocations: 97.84 kB / 0.6332 GB, free: 3.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1429, allocations: 25.7 kB / 0.6333 GB, free: 3.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.1429, allocations: 80.48 kB / 0.6333 GB, free: 2.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.143, allocations: 3.906 kB / 0.6333 GB, free: 2.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.143, allocations: 13.84 kB / 0.6333 GB, free: 2.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1431, allocations: 318.8 kB / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.1431, allocations: 0 / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.1431, allocations: 0 / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.1432, allocations: 12.8 kB / 0.6337 GB, free: 2.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1432, allocations: 4 kB / 0.6337 GB, free: 2.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.494e-05/0.1432, allocations: 33.69 kB / 0.6337 GB, free: 2.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1433, allocations: 8.094 kB / 0.6337 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1433, allocations: 11.88 kB / 0.6337 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1433, allocations: 0 / 0.6337 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.1434, allocations: 0 / 0.6337 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1434, allocations: 4 kB / 0.6337 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.1434, allocations: 0 / 0.6337 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1434, allocations: 0 / 0.6337 GB, free: 2.5 MB / 478.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 6.835e-05/0.1435, allocations: 109.8 kB / 0.6338 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.1435, allocations: 0 / 0.6338 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1436, allocations: 52.69 kB / 0.6339 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1436, allocations: 0 / 0.6339 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1436, allocations: 0 / 0.6339 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1436, allocations: 0 / 0.6339 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.835e-05/0.1437, allocations: 149.7 kB / 0.634 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1437, allocations: 0 / 0.634 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.1437, allocations: 0 / 0.634 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1438, allocations: 0 / 0.634 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1438, allocations: 11.94 kB / 0.634 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1438, allocations: 4.031 kB / 0.634 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1438, allocations: 0 / 0.634 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.342e-05/0.1439, allocations: 61.06 kB / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.1439, allocations: 81.11 kB / 0.6342 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1439, allocations: 3.938 kB / 0.6342 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.1439, allocations: 0 / 0.6342 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.144, allocations: 3.938 kB / 0.6342 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.144, allocations: 4.031 kB / 0.6342 GB, free: 1.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.144, allocations: 79.28 kB / 0.6343 GB, free: 1.848 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.144, allocations: 0 / 0.6343 GB, free: 1.848 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.1442, allocations: 8 kB / 0.6343 GB, free: 1.84 MB / 478.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.0003698/0.1446, allocations: 0.5996 MB / 0.6348 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1447, allocations: 11.92 kB / 0.6349 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1447, allocations: 0 / 0.6349 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.1447, allocations: 4 kB / 0.6349 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1449, allocations: 0 / 0.6349 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.1452, allocations: 114.7 kB / 0.635 GB, free: 1.043 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1455, allocations: 0.6729 MB / 0.6356 GB, free: 352 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.1455, allocations: 8.125 kB / 0.6356 GB, free: 344 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.1456, allocations: 7.438 kB / 0.6356 GB, free: 336 kB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1456, allocations: 0 / 0.6356 GB, free: 336 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1638, allocations: 1.024 MB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.682, allocations: 7.938 kB / 0.6367 GB, free: 15.38 MB / 494.1 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/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)