Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 106.7 kB / 16.41 MB, free: 6.488 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.001237/0.001237, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8896/0.8896, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.12 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 82.02 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.00258/0.1429, allocations: 1.448 MB / 0.6777 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.1432, allocations: 92.58 kB / 0.6778 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.1433, allocations: 4 kB / 0.6778 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.178e-05/0.1434, allocations: 0 / 0.6778 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.1434, allocations: 3.938 kB / 0.6778 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1437, allocations: 27.91 kB / 0.6778 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.1438, allocations: 15.98 kB / 0.6779 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1439, allocations: 16 kB / 0.6779 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.1439, allocations: 11.92 kB / 0.6779 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.144, allocations: 11.92 kB / 0.6779 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.144, allocations: 7.938 kB / 0.6779 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.1441, allocations: 15.98 kB / 0.6779 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.1441, allocations: 8 kB / 0.6779 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1442, allocations: 7.938 kB / 0.6779 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1443, allocations: 39.88 kB / 0.678 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1443, allocations: 0 / 0.678 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1443, allocations: 0 / 0.678 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1443, allocations: 0 / 0.678 GB, free: 8.629 MB / 0.5137 GB 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.0004395/0.1448, allocations: 351.4 kB / 0.6783 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1448, allocations: 8.031 kB / 0.6783 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1448, allocations: 4.938 kB / 0.6783 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.145, allocations: 164.3 kB / 0.6785 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.145, allocations: 4.375 kB / 0.6785 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.145, allocations: 4.375 kB / 0.6785 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1452, allocations: 54.17 kB / 0.6785 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1452, allocations: 4.188 kB / 0.6785 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1452, allocations: 3.938 kB / 0.6785 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1452, allocations: 0 / 0.6785 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1454, allocations: 39.95 kB / 0.6786 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1457, allocations: 253 kB / 0.6788 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1459, allocations: 46.44 kB / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.146, allocations: 28.84 kB / 0.6789 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.146, allocations: 11.97 kB / 0.6789 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1461, allocations: 30.56 kB / 0.6789 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1461, allocations: 0 / 0.6789 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003549/0.1464, allocations: 89.73 kB / 0.679 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1465, allocations: 55.34 kB / 0.6791 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1466, allocations: 105.8 kB / 0.6792 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1466, allocations: 29.64 kB / 0.6792 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.1466, allocations: 84.14 kB / 0.6793 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1467, allocations: 11.84 kB / 0.6793 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1467, allocations: 9.719 kB / 0.6793 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.1468, allocations: 318.8 kB / 0.6796 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.1469, allocations: 20.02 kB / 0.6796 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.147, allocations: 15.98 kB / 0.6796 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1471, allocations: 48.81 kB / 0.6797 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1471, allocations: 0 / 0.6797 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.1474, allocations: 69.67 kB / 0.6797 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1474, allocations: 9.547 kB / 0.6798 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1474, allocations: 0 / 0.6798 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1474, allocations: 4 kB / 0.6798 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.1475, allocations: 7.938 kB / 0.6798 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1475, allocations: 0 / 0.6798 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1476, allocations: 7.984 kB / 0.6798 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1476, allocations: 0 / 0.6798 GB, free: 6.547 MB / 0.5137 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.567e-05/0.1476, allocations: 121.8 kB / 0.6799 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1477, allocations: 3.906 kB / 0.6799 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.1479, allocations: 81.17 kB / 0.68 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1479, allocations: 0 / 0.68 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1479, allocations: 0 / 0.68 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1479, allocations: 0 / 0.68 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1481, allocations: 165.6 kB / 0.6801 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1481, allocations: 0 / 0.6801 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.1482, allocations: 8.031 kB / 0.6801 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1482, allocations: 0 / 0.6801 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1482, allocations: 8.188 kB / 0.6801 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1482, allocations: 3.984 kB / 0.6802 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1482, allocations: 4 kB / 0.6802 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1485, allocations: 163.5 kB / 0.6803 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.1485, allocations: 89.05 kB / 0.6804 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1485, allocations: 0 / 0.6804 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1486, allocations: 7.984 kB / 0.6804 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1486, allocations: 3.938 kB / 0.6804 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1486, allocations: 3.938 kB / 0.6804 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.1487, allocations: 87.28 kB / 0.6805 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1487, allocations: 0 / 0.6805 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002303/0.1489, allocations: 12 kB / 0.6805 GB, free: 5.699 MB / 0.5137 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.0001346/0.1491, allocations: 107.2 kB / 0.6806 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1493, allocations: 39.91 kB / 0.6806 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1493, allocations: 0 / 0.6806 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.1494, allocations: 27.97 kB / 0.6807 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1497, allocations: 3.938 kB / 0.6807 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.15, allocations: 139.3 kB / 0.6808 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1502, allocations: 0.6768 MB / 0.6815 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1503, allocations: 11.44 kB / 0.6815 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1503, allocations: 0 / 0.6815 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of Templates: time 0.002005/0.1523, allocations: 0.6729 MB / 0.6821 GB, free: 3.961 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)