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.001085/0.001085, allocations: 93.19 kB / 16.02 MB, free: 84 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.001234/0.001234, allocations: 177 kB / 16.92 MB, free: 6.684 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6847/0.6847, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002698, allocations: 12 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 77.53 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0008579/0.1368, allocations: 303.8 kB / 0.5604 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.1371, allocations: 38.44 kB / 0.5604 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.1371, allocations: 0 / 0.5604 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1372, allocations: 4 kB / 0.5604 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.1372, allocations: 0 / 0.5604 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1375, allocations: 11.98 kB / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.1375, allocations: 0 / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.1376, allocations: 7.938 kB / 0.5604 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.1376, allocations: 4 kB / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1377, allocations: 3.984 kB / 0.5604 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1377, allocations: 0 / 0.5604 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1378, allocations: 15.98 kB / 0.5604 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1379, allocations: 0 / 0.5604 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1379, allocations: 37.62 kB / 0.5605 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.138, allocations: 11.98 kB / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1381, allocations: 0 / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1381, allocations: 0 / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1381, allocations: 0 / 0.5605 GB, free: 8.504 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.0003175/0.1384, allocations: 319.6 kB / 0.5608 GB, free: 8.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1385, allocations: 8.031 kB / 0.5608 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1385, allocations: 34.73 kB / 0.5608 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.1386, allocations: 0.9375 kB / 0.5608 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1387, allocations: 164.4 kB / 0.561 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1387, allocations: 4.375 kB / 0.561 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1387, allocations: 384 / 0.561 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1388, allocations: 26.27 kB / 0.561 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1389, allocations: 3.938 kB / 0.561 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1389, allocations: 3.984 kB / 0.561 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1389, allocations: 4 kB / 0.561 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.1389, allocations: 0 / 0.561 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.1391, allocations: 153.6 kB / 0.5612 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.1392, allocations: 22.61 kB / 0.5612 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.1393, allocations: 4.859 kB / 0.5612 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.1393, allocations: 4.062 kB / 0.5612 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1394, allocations: 34.56 kB / 0.5612 GB, free: 7.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.923e-06/0.1394, allocations: 0 / 0.5612 GB, free: 7.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.1396, allocations: 45.56 kB / 0.5613 GB, free: 7.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1397, allocations: 51.41 kB / 0.5613 GB, free: 7.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.881e-05/0.1397, allocations: 93.98 kB / 0.5614 GB, free: 7.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1397, allocations: 29.7 kB / 0.5614 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1398, allocations: 80.14 kB / 0.5615 GB, free: 7.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1398, allocations: 3.906 kB / 0.5615 GB, free: 7.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1398, allocations: 9.719 kB / 0.5615 GB, free: 7.207 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.14, allocations: 314.8 kB / 0.5618 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.14, allocations: 0 / 0.5618 GB, free: 6.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.14, allocations: 4 kB / 0.5618 GB, free: 6.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.1401, allocations: 12.92 kB / 0.5619 GB, free: 6.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.1401, allocations: 4 kB / 0.5619 GB, free: 6.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.141e-05/0.1402, allocations: 37.62 kB / 0.5619 GB, free: 6.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1402, allocations: 7.938 kB / 0.5619 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1403, allocations: 3.938 kB / 0.5619 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1403, allocations: 0 / 0.5619 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.1404, allocations: 8 kB / 0.5619 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1404, allocations: 0 / 0.5619 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.1404, allocations: 0 / 0.5619 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1404, allocations: 4 kB / 0.5619 GB, free: 6.801 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 9.878e-05/0.1405, allocations: 109.9 kB / 0.562 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1406, allocations: 3.984 kB / 0.562 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1407, allocations: 44.77 kB / 0.5621 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1407, allocations: 0 / 0.5621 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1407, allocations: 0 / 0.5621 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1407, allocations: 0 / 0.5621 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1409, allocations: 153.6 kB / 0.5622 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1409, allocations: 0 / 0.5622 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.1409, allocations: 4 kB / 0.5622 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.141, allocations: 0 / 0.5622 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.141, allocations: 3.938 kB / 0.5622 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.141, allocations: 0 / 0.5622 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.141, allocations: 0 / 0.5622 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1411, allocations: 61.12 kB / 0.5623 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1412, allocations: 81.14 kB / 0.5624 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1412, allocations: 3.938 kB / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.1413, allocations: 0 / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1413, allocations: 0 / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1413, allocations: 4 kB / 0.5624 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.1414, allocations: 75.28 kB / 0.5624 GB, free: 6.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1414, allocations: 0 / 0.5624 GB, free: 6.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.1417, allocations: 4 kB / 0.5624 GB, free: 6.164 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.0006012/0.1423, allocations: 0.6165 MB / 0.563 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.292e-05/0.1424, allocations: 4 kB / 0.563 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1424, allocations: 4 kB / 0.563 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.1425, allocations: 0 / 0.563 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1426, allocations: 5.719 kB / 0.5631 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.1431, allocations: 108.5 kB / 0.5632 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1435, allocations: 0.677 MB / 0.5638 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.1435, allocations: 0 / 0.5638 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.1435, allocations: 7.438 kB / 0.5638 GB, free: 4.648 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1435, allocations: 7.938 kB / 0.5638 GB, free: 4.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08367/0.2272, allocations: 0.8184 MB / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.2275, allocations: 197.1 kB / 0.5648 GB, free: 3.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.296, allocations: 0 / 0.5648 GB, free: 3.707 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)