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.001073/0.001073, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001628, allocations: 208.4 kB / 16.79 MB, free: 6.84 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.269/1.269, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6544/0.6544, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 69.89 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1315, allocations: 76.19 MB / 0.5559 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001668/0.1332, allocations: 0.62 MB / 0.5565 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.1335, allocations: 46.39 kB / 0.5565 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-06/0.1335, allocations: 0 / 0.5565 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.1335, allocations: 0 / 0.5565 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.1335, allocations: 0 / 0.5565 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1338, allocations: 15.92 kB / 0.5565 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.185e-05/0.1338, allocations: 4 kB / 0.5565 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1338, allocations: 0 / 0.5565 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.1339, allocations: 0 / 0.5565 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.1339, allocations: 4 kB / 0.5565 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.1339, allocations: 0 / 0.5565 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.134, allocations: 23.97 kB / 0.5566 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.134, allocations: 3.984 kB / 0.5566 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.134, allocations: 3.938 kB / 0.5566 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.9e-05/0.1341, allocations: 19.98 kB / 0.5566 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1341, allocations: 0 / 0.5566 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1341, allocations: 0 / 0.5566 GB, free: 9.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1342, allocations: 0 / 0.5566 GB, free: 9.992 MB / 430.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.000265/0.1344, allocations: 315.5 kB / 0.5569 GB, free: 9.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1345, allocations: 8.031 kB / 0.5569 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.1345, allocations: 30.75 kB / 0.5569 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.1345, allocations: 8.938 kB / 0.5569 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.494e-05/0.1346, allocations: 168.3 kB / 0.5571 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.1346, allocations: 4.375 kB / 0.5571 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.1346, allocations: 384 / 0.5571 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.748e-05/0.1347, allocations: 30.25 kB / 0.5571 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1347, allocations: 3.938 kB / 0.5571 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.1347, allocations: 0 / 0.5571 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1347, allocations: 4 kB / 0.5571 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.1348, allocations: 0 / 0.5571 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.1349, allocations: 145.7 kB / 0.5573 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.1349, allocations: 30.55 kB / 0.5573 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.135, allocations: 4.859 kB / 0.5573 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.135, allocations: 4.062 kB / 0.5573 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.135, allocations: 34.55 kB / 0.5574 GB, free: 9.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.135, allocations: 0 / 0.5574 GB, free: 9.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.1351, allocations: 33.73 kB / 0.5574 GB, free: 9.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1352, allocations: 55.44 kB / 0.5574 GB, free: 8.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.477e-05/0.1352, allocations: 89.86 kB / 0.5575 GB, free: 8.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1352, allocations: 29.7 kB / 0.5576 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.1353, allocations: 88.08 kB / 0.5576 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1353, allocations: 3.906 kB / 0.5576 GB, free: 8.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.1353, allocations: 9.719 kB / 0.5576 GB, free: 8.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.1354, allocations: 318.8 kB / 0.558 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.1354, allocations: 4 kB / 0.558 GB, free: 8.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.1354, allocations: 4 kB / 0.558 GB, free: 8.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.1355, allocations: 8.859 kB / 0.558 GB, free: 8.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1355, allocations: 0 / 0.558 GB, free: 8.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.034e-05/0.1355, allocations: 33.7 kB / 0.558 GB, free: 8.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1355, allocations: 8 kB / 0.558 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1356, allocations: 3.938 kB / 0.558 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1356, allocations: 0 / 0.558 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.1356, allocations: 7.922 kB / 0.558 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1356, allocations: 4.094 kB / 0.558 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.1357, allocations: 4 kB / 0.558 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1357, allocations: 0 / 0.558 GB, free: 8.289 MB / 430.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.299e-05/0.1357, allocations: 105.8 kB / 0.5581 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.1358, allocations: 0 / 0.5581 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.1358, allocations: 48.75 kB / 0.5582 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1359, allocations: 4.031 kB / 0.5582 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1359, allocations: 3.938 kB / 0.5582 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1359, allocations: 0 / 0.5582 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.962e-05/0.136, allocations: 145.7 kB / 0.5583 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.136, allocations: 0 / 0.5583 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.136, allocations: 0 / 0.5583 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.136, allocations: 3.984 kB / 0.5583 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.136, allocations: 11.92 kB / 0.5583 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.136, allocations: 0 / 0.5583 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.136, allocations: 7.938 kB / 0.5583 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.1361, allocations: 57.14 kB / 0.5584 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.1361, allocations: 77.11 kB / 0.5585 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1362, allocations: 11.92 kB / 0.5585 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.1362, allocations: 0 / 0.5585 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.1362, allocations: 0 / 0.5585 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1362, allocations: 0 / 0.5585 GB, free: 7.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.213e-05/0.1362, allocations: 75.28 kB / 0.5586 GB, free: 7.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1362, allocations: 0 / 0.5586 GB, free: 7.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.1364, allocations: 8.031 kB / 0.5586 GB, free: 7.641 MB / 430.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.0003288/0.1368, allocations: 0.6048 MB / 0.5592 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.706e-05/0.1368, allocations: 4 kB / 0.5592 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1368, allocations: 96 / 0.5592 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.1368, allocations: 8 kB / 0.5592 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.137, allocations: 0 / 0.5592 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.1372, allocations: 112.4 kB / 0.5593 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1374, allocations: 0.6692 MB / 0.5599 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.1375, allocations: 4 kB / 0.5599 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.1375, allocations: 11.5 kB / 0.5599 GB, free: 6.133 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1375, allocations: 3.938 kB / 0.5599 GB, free: 6.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2048/0.3423, allocations: 0.8813 MB / 0.5608 GB, free: 5.344 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.3426, allocations: 197.8 kB / 0.561 GB, free: 5.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.06, allocations: 0 / 0.561 GB, free: 5.09 MB / 430.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)