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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 157.2 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.351/1.351, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8266/0.8266, allocations: 110.3 MB / 370.1 MB, free: 15.66 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 74.77 kB / 0.5483 GB, free: 13.29 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1478, allocations: 87.86 MB / 0.6341 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002646/0.1504, allocations: 1.464 MB / 0.6355 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.1507, allocations: 84.66 kB / 0.6356 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.1508, allocations: 4 kB / 0.6356 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 6.086e-05/0.1508, allocations: 3.938 kB / 0.6356 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.1509, allocations: 7.938 kB / 0.6356 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1512, allocations: 19.97 kB / 0.6357 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.746e-05/0.1513, allocations: 31.86 kB / 0.6357 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.1513, allocations: 0 / 0.6357 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.1514, allocations: 8 kB / 0.6357 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.1514, allocations: 15.91 kB / 0.6357 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1514, allocations: 4 kB / 0.6357 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.1515, allocations: 19.97 kB / 0.6357 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.1515, allocations: 8 kB / 0.6357 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.1516, allocations: 11.94 kB / 0.6358 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1517, allocations: 35.83 kB / 0.6358 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1517, allocations: 0 / 0.6358 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1517, allocations: 0 / 0.6358 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.1517, allocations: 0 / 0.6358 GB, free: 3.551 MB / 0.5919 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.0004345/0.1521, allocations: 272.3 kB / 0.6361 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1522, allocations: 11.97 kB / 0.6361 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1522, allocations: 8.922 kB / 0.6361 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1523, allocations: 114.4 kB / 0.6362 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1523, allocations: 8.375 kB / 0.6362 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1523, allocations: 384 / 0.6362 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1525, allocations: 50.23 kB / 0.6362 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1525, allocations: 192 / 0.6362 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1525, allocations: 3.938 kB / 0.6362 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1525, allocations: 4 kB / 0.6362 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1527, allocations: 39.89 kB / 0.6363 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.153, allocations: 192.6 kB / 0.6365 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1531, allocations: 50.59 kB / 0.6365 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.1532, allocations: 20.91 kB / 0.6365 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.1532, allocations: 7.938 kB / 0.6365 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1533, allocations: 30.56 kB / 0.6366 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1533, allocations: 0 / 0.6366 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003464/0.1536, allocations: 93.66 kB / 0.6367 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1536, allocations: 55.44 kB / 0.6367 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.1537, allocations: 105.9 kB / 0.6368 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1538, allocations: 25.7 kB / 0.6368 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.1538, allocations: 88.12 kB / 0.6369 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.1538, allocations: 7.891 kB / 0.6369 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1539, allocations: 17.72 kB / 0.6369 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.154, allocations: 310.8 kB / 0.6372 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.1541, allocations: 23.97 kB / 0.6373 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.1542, allocations: 19.98 kB / 0.6373 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1543, allocations: 36.83 kB / 0.6373 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1543, allocations: 3.938 kB / 0.6373 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.1545, allocations: 81.55 kB / 0.6374 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1545, allocations: 6.188 kB / 0.6374 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1545, allocations: 3.984 kB / 0.6374 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1545, allocations: 8.078 kB / 0.6374 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.1546, allocations: 11.98 kB / 0.6374 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1546, allocations: 0 / 0.6374 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.1547, allocations: 8.234 kB / 0.6374 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1547, allocations: 0 / 0.6374 GB, free: 1.691 MB / 0.5919 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.734e-05/0.1548, allocations: 109.8 kB / 0.6375 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1548, allocations: 3.938 kB / 0.6375 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.155, allocations: 89.2 kB / 0.6376 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.1551, allocations: 4 kB / 0.6376 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1551, allocations: 0 / 0.6376 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1551, allocations: 0 / 0.6376 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1552, allocations: 109.2 kB / 0.6377 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1552, allocations: 0 / 0.6377 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1552, allocations: 8 kB / 0.6377 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1552, allocations: 3.938 kB / 0.6378 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1553, allocations: 0 / 0.6378 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1553, allocations: 3.984 kB / 0.6378 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1553, allocations: 0 / 0.6378 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1555, allocations: 175.4 kB / 0.6379 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.1555, allocations: 7.938 kB / 0.6379 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.1555, allocations: 0 / 0.6379 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1556, allocations: 4 kB / 0.6379 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1556, allocations: 3.984 kB / 0.6379 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.1556, allocations: 4 kB / 0.6379 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.1557, allocations: 83.28 kB / 0.638 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1557, allocations: 0 / 0.638 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002141/0.1559, allocations: 15.97 kB / 0.638 GB, free: 1.016 MB / 0.5919 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.0001366/0.156, allocations: 107.2 kB / 0.6381 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1562, allocations: 43.95 kB / 0.6382 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1562, allocations: 0 / 0.6382 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.1563, allocations: 15.98 kB / 0.6382 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1566, allocations: 11.94 kB / 0.6382 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.1568, allocations: 113.7 kB / 0.6383 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.1569, allocations: 59.34 kB / 0.6384 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.1569, allocations: 4 kB / 0.6384 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.1569, allocations: 8.5 kB / 0.6384 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1569, allocations: 0 / 0.6384 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of Templates: time 0.002749/0.1596, allocations: 0.5706 MB / 0.6389 GB, free: 36 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.976129602058791] Failed to read output from testmodel.py, exit status != 0: 0.16773096297401935 0.18132174199999995 0.02678156199999994 Calling exit ...