Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.001394/0.001394, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00145/0.00145, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.9255/0.9255, allocations: 145 MB / 457.4 MB, free: 15.32 MB / 366.1 MB " [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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") [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.00202/0.00202, allocations: 66.12 kB / 0.6336 GB, free: 6.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 87.89 MB / 0.7194 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001723/0.1832, allocations: 0.591 MB / 0.72 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.1835, allocations: 95.69 kB / 0.7201 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.1835, allocations: 0 / 0.7201 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1835, allocations: 0 / 0.7201 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.1836, allocations: 4 kB / 0.7201 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1838, allocations: 19.92 kB / 0.7201 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1838, allocations: 7.984 kB / 0.7201 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.1839, allocations: 0 / 0.7201 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.1839, allocations: 11.92 kB / 0.7201 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.184, allocations: 4 kB / 0.7201 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.184, allocations: 0 / 0.7201 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.184, allocations: 11.98 kB / 0.7202 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1841, allocations: 4 kB / 0.7202 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.1841, allocations: 0 / 0.7202 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.539e-05/0.1842, allocations: 19.91 kB / 0.7202 GB, free: 13.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1842, allocations: 0 / 0.7202 GB, free: 13.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1842, allocations: 4 kB / 0.7202 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1842, allocations: 4 kB / 0.7202 GB, free: 13.55 MB / 0.545 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.000341/0.1845, allocations: 234.4 kB / 0.7204 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1845, allocations: 12.03 kB / 0.7204 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.1847, allocations: 12.92 kB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.1848, allocations: 110.5 kB / 0.7205 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1848, allocations: 384 / 0.7205 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.1848, allocations: 4.375 kB / 0.7205 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1849, allocations: 38.25 kB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1849, allocations: 4.188 kB / 0.7206 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.185, allocations: 3.938 kB / 0.7206 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.185, allocations: 0 / 0.7206 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.185, allocations: 11.98 kB / 0.7206 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.1852, allocations: 105.3 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1853, allocations: 42.53 kB / 0.7207 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.1854, allocations: 12.92 kB / 0.7207 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1854, allocations: 4 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1854, allocations: 38.55 kB / 0.7208 GB, free: 12.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1854, allocations: 0 / 0.7208 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.1856, allocations: 53.62 kB / 0.7208 GB, free: 12.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1857, allocations: 51.41 kB / 0.7209 GB, free: 12.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.1857, allocations: 89.86 kB / 0.721 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1857, allocations: 29.64 kB / 0.721 GB, free: 12.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.1858, allocations: 88.12 kB / 0.7211 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.1858, allocations: 15.83 kB / 0.7211 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1858, allocations: 13.72 kB / 0.7211 GB, free: 12.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.186, allocations: 310.8 kB / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.186, allocations: 15.98 kB / 0.7214 GB, free: 12.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.186, allocations: 4 kB / 0.7214 GB, free: 12.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.1861, allocations: 20.84 kB / 0.7215 GB, free: 12.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1861, allocations: 0 / 0.7215 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001092/0.1862, allocations: 53.95 kB / 0.7215 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1862, allocations: 11.94 kB / 0.7215 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1862, allocations: 3.984 kB / 0.7215 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1863, allocations: 0 / 0.7215 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.1866, allocations: 51.81 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1879, allocations: 1.278 MB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.1879, allocations: 0 / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.188, allocations: 3.984 kB / 0.7228 GB, free: 10.57 MB / 0.545 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.188, allocations: 125.7 kB / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.1881, allocations: 0 / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.1881, allocations: 7.656 kB / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1881, allocations: 0 / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.1881, allocations: 0 / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1881, allocations: 0 / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.907e-05/0.1881, allocations: 101.3 kB / 0.723 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1882, allocations: 3.938 kB / 0.723 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.1885, allocations: 51.92 kB / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1885, allocations: 0 / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1885, allocations: 0 / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1897, allocations: 1.282 MB / 0.7243 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1897, allocations: 0 / 0.7243 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1898, allocations: 77.08 kB / 0.7244 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-06/0.1898, allocations: 0 / 0.7244 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.1898, allocations: 3.984 kB / 0.7244 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.1899, allocations: 8 kB / 0.7244 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.1899, allocations: 0 / 0.7244 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1899, allocations: 0 / 0.7244 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.1899, allocations: 83.31 kB / 0.7245 GB, free: 8.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1899, allocations: 0 / 0.7245 GB, free: 8.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001877/0.1901, allocations: 4 kB / 0.7245 GB, free: 8.668 MB / 0.545 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.1902, allocations: 103.2 kB / 0.7246 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.1907, allocations: 63.92 kB / 0.7247 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1907, allocations: 0 / 0.7247 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.1909, allocations: 35.95 kB / 0.7247 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.191, allocations: 7.938 kB / 0.7247 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.1913, allocations: 88.84 kB / 0.7248 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.681e-05/0.1914, allocations: 71.22 kB / 0.7249 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.1914, allocations: 8 kB / 0.7249 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1914, allocations: 7.438 kB / 0.7249 GB, free: 8.23 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1914, allocations: 0 / 0.7249 GB, free: 8.23 MB / 0.545 GB Notification: Performance of Templates: time 0.002634/0.1941, allocations: 454.7 kB / 0.7253 GB, free: 7.793 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.474822547286749] Failed to read output from testmodel.py, exit status != 0: 0.20251936092972755 0.21606558099999995 0.029100202000000002 Calling exit ...