Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001262/0.001263, allocations: 111.3 kB / 16.41 MB, free: 6.445 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.001239/0.001239, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8221/0.8221, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 77.52 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1372, allocations: 78.86 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002168/0.1394, allocations: 1.428 MB / 0.6519 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.1397, allocations: 96.52 kB / 0.652 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.1397, allocations: 0 / 0.652 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.1398, allocations: 0 / 0.652 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.233e-05/0.1398, allocations: 7.938 kB / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.14, allocations: 23.97 kB / 0.6521 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.981e-05/0.1401, allocations: 23.92 kB / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.778e-05/0.1402, allocations: 4 kB / 0.6521 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.1402, allocations: 7.984 kB / 0.6521 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.1403, allocations: 11.94 kB / 0.6521 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1403, allocations: 4 kB / 0.6521 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.1404, allocations: 23.97 kB / 0.6521 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1404, allocations: 4 kB / 0.6521 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.1404, allocations: 19.81 kB / 0.6522 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1405, allocations: 40.16 kB / 0.6522 GB, free: 1.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1405, allocations: 4 kB / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1406, allocations: 0 / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1406, allocations: 0 / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004058/0.141, allocations: 347.3 kB / 0.6525 GB, free: 1.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.141, allocations: 8.031 kB / 0.6525 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.1411, allocations: 34.69 kB / 0.6526 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.1411, allocations: 12.88 kB / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1412, allocations: 160.4 kB / 0.6527 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1412, allocations: 4.375 kB / 0.6527 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1412, allocations: 4.375 kB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1414, allocations: 50.23 kB / 0.6528 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1414, allocations: 7.875 kB / 0.6528 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1414, allocations: 0 / 0.6528 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1414, allocations: 3.984 kB / 0.6528 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1416, allocations: 39.95 kB / 0.6528 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.1419, allocations: 252.9 kB / 0.6531 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.142, allocations: 42.53 kB / 0.6531 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.1421, allocations: 24.91 kB / 0.6532 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1422, allocations: 4 kB / 0.6532 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1422, allocations: 38.48 kB / 0.6532 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1422, allocations: 4 kB / 0.6532 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003364/0.1425, allocations: 89.59 kB / 0.6533 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1426, allocations: 51.41 kB / 0.6533 GB, free: 0.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.1427, allocations: 101.9 kB / 0.6534 GB, free: 444 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1427, allocations: 29.69 kB / 0.6535 GB, free: 408 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.1428, allocations: 90.12 kB / 0.6535 GB, free: 316 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1428, allocations: 11.89 kB / 0.6536 GB, free: 304 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.1428, allocations: 9.719 kB / 0.6536 GB, free: 288 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1429, allocations: 318.8 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.143, allocations: 15.97 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.1431, allocations: 24.17 kB / 0.6539 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1433, allocations: 44.88 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1433, allocations: 7.938 kB / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.1435, allocations: 65.67 kB / 0.654 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1435, allocations: 4 kB / 0.654 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1435, allocations: 0 / 0.654 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1435, allocations: 3.984 kB / 0.654 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.1436, allocations: 8 kB / 0.654 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1436, allocations: 7.969 kB / 0.654 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1437, allocations: 7.984 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1437, allocations: 0 / 0.6541 GB, free: 15.77 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.858e-05/0.1438, allocations: 117.8 kB / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1438, allocations: 7.891 kB / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.144, allocations: 77.17 kB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.144, allocations: 8.031 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.144, allocations: 0 / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.144, allocations: 0 / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.1442, allocations: 165.5 kB / 0.6544 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1442, allocations: 0 / 0.6544 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.1443, allocations: 7.984 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1443, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1443, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1443, allocations: 4 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1443, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1445, allocations: 171.4 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.1446, allocations: 85.09 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1446, allocations: 0 / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1447, allocations: 4 kB / 0.6547 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1447, allocations: 3.984 kB / 0.6547 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.1447, allocations: 0 / 0.6547 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.1448, allocations: 95.31 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1448, allocations: 0 / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.145, allocations: 4 kB / 0.6548 GB, free: 14.93 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005314/0.1455, allocations: 0.7162 MB / 0.6555 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1458, allocations: 39.97 kB / 0.6555 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1458, allocations: 0 / 0.6555 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.1459, allocations: 19.97 kB / 0.6555 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1461, allocations: 9.719 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.1465, allocations: 143.3 kB / 0.6557 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1467, allocations: 0.6807 MB / 0.6563 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.1468, allocations: 3.938 kB / 0.6563 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.1468, allocations: 11.44 kB / 0.6564 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1468, allocations: 3.938 kB / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.2483, allocations: 1.422 MB / 0.6577 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.354, allocations: 2.875 kB / 0.6577 GB, free: 11.86 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)