Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001802/0.001802, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002287/0.002287, allocations: 218.5 kB / 22.25 MB, free: 5.121 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.98 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.906/0.906, allocations: 145 MB / 457.4 MB, free: 15.48 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [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.002013/0.002013, allocations: 66.89 kB / 0.6332 GB, free: 7.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1816, allocations: 87.89 MB / 0.719 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003061/0.1846, allocations: 1.458 MB / 0.7204 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.185, allocations: 96.58 kB / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.1851, allocations: 0 / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.1851, allocations: 4 kB / 0.7205 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.1851, allocations: 15.86 kB / 0.7205 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1854, allocations: 15.92 kB / 0.7205 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.1855, allocations: 19.98 kB / 0.7206 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1856, allocations: 11.94 kB / 0.7206 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.1857, allocations: 11.92 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.1857, allocations: 11.94 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1858, allocations: 0 / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.1858, allocations: 19.98 kB / 0.7206 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.1859, allocations: 7.984 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.1859, allocations: 15.92 kB / 0.7206 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.186, allocations: 31.89 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.186, allocations: 4 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.973e-06/0.186, allocations: 0 / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.186, allocations: 0 / 0.7207 GB, free: 13.67 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.0005723/0.1866, allocations: 266.3 kB / 0.7209 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1867, allocations: 8.031 kB / 0.7209 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1867, allocations: 30.75 kB / 0.721 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1869, allocations: 16.92 kB / 0.721 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.187, allocations: 114.4 kB / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.1871, allocations: 384 / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1871, allocations: 384 / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.1873, allocations: 66.16 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1873, allocations: 3.938 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1873, allocations: 0 / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1873, allocations: 0 / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.1875, allocations: 47.95 kB / 0.7212 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.188, allocations: 236 kB / 0.7214 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.1882, allocations: 50.48 kB / 0.7215 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1883, allocations: 32.89 kB / 0.7215 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1883, allocations: 3.938 kB / 0.7215 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.1884, allocations: 34.56 kB / 0.7215 GB, free: 12.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1884, allocations: 0 / 0.7215 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004108/0.1888, allocations: 101.6 kB / 0.7216 GB, free: 12.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1889, allocations: 59.47 kB / 0.7217 GB, free: 12.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1891, allocations: 105.8 kB / 0.7218 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1891, allocations: 25.7 kB / 0.7218 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.1891, allocations: 88.14 kB / 0.7219 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1891, allocations: 3.953 kB / 0.7219 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1892, allocations: 9.719 kB / 0.7219 GB, free: 12.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002869/0.1895, allocations: 322.8 kB / 0.7222 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1896, allocations: 23.98 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/0.1897, allocations: 27.91 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1899, allocations: 52.75 kB / 0.7223 GB, free: 11.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1899, allocations: 3.938 kB / 0.7223 GB, free: 11.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002388/0.1901, allocations: 89.66 kB / 0.7224 GB, free: 11.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1901, allocations: 6.188 kB / 0.7224 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1901, allocations: 0 / 0.7224 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1901, allocations: 0 / 0.7224 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1902, allocations: 11.98 kB / 0.7224 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1902, allocations: 0 / 0.7224 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.1903, allocations: 7.984 kB / 0.7224 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1903, allocations: 0 / 0.7224 GB, free: 11.66 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 (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 0.0001072/0.1904, allocations: 125.8 kB / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1905, allocations: 3.984 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1905, allocations: 7.625 kB / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1905, allocations: 0 / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1905, allocations: 0 / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1905, allocations: 0 / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1907, allocations: 144.7 kB / 0.7227 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1908, allocations: 0 / 0.7227 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.1908, allocations: 11.98 kB / 0.7227 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1908, allocations: 4 kB / 0.7227 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1908, allocations: 0 / 0.7227 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1908, allocations: 0 / 0.7227 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1908, allocations: 0 / 0.7227 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.1911, allocations: 175.4 kB / 0.7229 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.1911, allocations: 7.984 kB / 0.7229 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1912, allocations: 8 kB / 0.7229 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.1913, allocations: 8.234 kB / 0.7229 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1913, allocations: 11.86 kB / 0.7229 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1913, allocations: 4 kB / 0.7229 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.1913, allocations: 79.28 kB / 0.723 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1913, allocations: 4 kB / 0.723 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002158/0.1916, allocations: 8 kB / 0.723 GB, free: 11 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 (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.0006116/0.1922, allocations: 0.7045 MB / 0.7237 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.1924, allocations: 51.98 kB / 0.7238 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1924, allocations: 7.938 kB / 0.7238 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1925, allocations: 23.97 kB / 0.7238 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1929, allocations: 4 kB / 0.7238 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.1934, allocations: 155.1 kB / 0.7239 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1937, allocations: 0.6885 MB / 0.7246 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.1937, allocations: 0 / 0.7246 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.1937, allocations: 7.438 kB / 0.7246 GB, free: 9.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1937, allocations: 0 / 0.7246 GB, free: 9.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.2235, allocations: 1.574 MB / 0.7262 GB, free: 7.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.94, allocations: 8.625 kB / 0.7262 GB, free: 7.82 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.727568947000691] Failed to read output from testmodel.py, exit status != 0: 11.04578458999822 11.07400651 10.882869042 Calling exit ...