Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.441/1.441, allocations: 288.4 MB / 303.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 183.7 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006561/0.0006561, allocations: 96.75 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 11.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00278/0.1654, allocations: 3.221 MB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1686, allocations: 2.419 MB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.169, allocations: 15.88 kB / 0.9857 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.1697, allocations: 206.8 kB / 0.9859 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008412/0.1705, allocations: 442 kB / 0.9863 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.1715, allocations: 453.2 kB / 0.9867 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1726, allocations: 1.332 MB / 0.988 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.1728, allocations: 132.7 kB / 0.9882 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.1733, allocations: 370.6 kB / 0.9885 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.1739, allocations: 0.4983 MB / 0.989 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.174, allocations: 32 kB / 0.989 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1741, allocations: 36 kB / 0.9891 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.1744, allocations: 311.1 kB / 0.9894 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1747, allocations: 447.6 kB / 0.9898 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1751, allocations: 0.6896 MB / 0.9905 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1751, allocations: 0 / 0.9905 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1751, allocations: 3.938 kB / 0.9905 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.1751, allocations: 3.938 kB / 0.9905 GB, free: 16.65 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001629/0.1768, allocations: 1.137 MB / 0.9916 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1768, allocations: 12.03 kB / 0.9916 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.1769, allocations: 70.72 kB / 0.9917 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.177, allocations: 107.7 kB / 0.9918 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.1778, allocations: 0.6519 MB / 0.9924 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1778, allocations: 41.03 kB / 0.9925 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.1779, allocations: 60.11 kB / 0.9925 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.1783, allocations: 415 kB / 0.9929 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1783, allocations: 0 / 0.9929 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1784, allocations: 16 kB / 0.9929 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1784, allocations: 8 kB / 0.9929 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1787, allocations: 238.4 kB / 0.9932 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.1807, allocations: 2.509 MB / 0.9956 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1819, allocations: 0.5549 MB / 0.9961 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1821, allocations: 164.8 kB / 0.9963 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1821, allocations: 4 kB / 0.9963 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.1821, allocations: 34.56 kB / 0.9963 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.1821, allocations: 0 / 0.9963 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.001174/0.1833, allocations: 0.905 MB / 0.9972 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.1834, allocations: 55.41 kB / 0.9973 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/0.1841, allocations: 0.9193 MB / 0.9982 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1842, allocations: 37.7 kB / 0.9982 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1843, allocations: 364.8 kB / 0.9986 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.1844, allocations: 118.3 kB / 0.9987 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.1844, allocations: 16 kB / 0.9987 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.1845, allocations: 398.7 kB / 0.9991 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.1848, allocations: 237.8 kB / 0.9993 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.1852, allocations: 0.6426 MB / 0.9999 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.1859, allocations: 0.8914 MB / 1.001 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1859, allocations: 4 kB / 1.001 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001126/0.187, allocations: 1.014 MB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.187, allocations: 12.47 kB / 1.002 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1871, allocations: 19.88 kB / 1.002 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.1874, allocations: 122.5 kB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.1879, allocations: 191.6 kB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.1899, allocations: 4.153 MB / 1.006 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.1906, allocations: 122.9 kB / 1.006 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.1907, allocations: 47.98 kB / 1.006 GB, free: 15.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.191, allocations: 265.5 kB / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.1911, allocations: 78.97 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1912, allocations: 80.52 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1912, allocations: 7.938 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1912, allocations: 4 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1912, allocations: 0 / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.1919, allocations: 0.6492 MB / 1.007 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1919, allocations: 4.188 kB / 1.007 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1922, allocations: 63.89 kB / 1.007 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.1924, allocations: 106.5 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1925, allocations: 8 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.1953, allocations: 4.145 MB / 1.012 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1953, allocations: 0 / 1.012 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.1963, allocations: 0.7466 MB / 1.012 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.1965, allocations: 207.9 kB / 1.013 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.1966, allocations: 11.98 kB / 1.013 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.197, allocations: 27.91 kB / 1.013 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.1971, allocations: 27.91 kB / 1.013 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1971, allocations: 8 kB / 1.013 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007209/0.1978, allocations: 0.6161 MB / 1.013 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1978, allocations: 0 / 1.013 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007036/0.1986, allocations: 271.8 kB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.1998, allocations: 1.293 MB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2009, allocations: 0.917 MB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2009, allocations: 4 kB / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.2015, allocations: 0.5237 MB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/0.2024, allocations: 172.2 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/0.2098, allocations: 5.804 MB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.2103, allocations: 0.9878 MB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003619/0.2107, allocations: 150.2 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.211, allocations: 275.3 kB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/0.2111, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5793/0.7904, allocations: 16.92 MB / 1.04 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.7906, allocations: 215.6 kB / 1.04 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.622, allocations: 4.062 kB / 1.04 GB, free: 11.82 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)