Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008393/0.000839, allocations: 174.9 kB / 325.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000663/0.0006629, allocations: 102.6 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002784, allocations: 8.375 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.002615/0.1422, allocations: 3.43 MB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.145, allocations: 2.592 MB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.1453, allocations: 11.94 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.1458, allocations: 218.8 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.1465, allocations: 473.9 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.1473, allocations: 465.9 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.1482, allocations: 1.621 MB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1483, allocations: 128.8 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.1486, allocations: 386.4 kB / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.1491, allocations: 0.506 MB / 0.9058 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.1491, allocations: 32 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1492, allocations: 36 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1494, allocations: 315 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.1497, allocations: 425.7 kB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.1501, allocations: 0.887 MB / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1501, allocations: 0 / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1501, allocations: 0 / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1501, allocations: 4 kB / 0.9074 GB, free: 56.54 MB / 0.6042 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.00144/0.1516, allocations: 1.148 MB / 0.9085 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1516, allocations: 11.97 kB / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.1517, allocations: 70.72 kB / 0.9086 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.1518, allocations: 99.81 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.1525, allocations: 0.648 MB / 0.9093 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1525, allocations: 45.03 kB / 0.9094 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.1526, allocations: 60.12 kB / 0.9094 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.153, allocations: 411 kB / 0.9098 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.153, allocations: 0 / 0.9098 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.153, allocations: 16 kB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1531, allocations: 12 kB / 0.9099 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1534, allocations: 238.4 kB / 0.9101 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1554, allocations: 2.513 MB / 0.9125 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1565, allocations: 0.5532 MB / 0.9131 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.1567, allocations: 160.8 kB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1567, allocations: 3.984 kB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.1567, allocations: 42.56 kB / 0.9133 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.1567, allocations: 0 / 0.9133 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.001164/0.1579, allocations: 0.8942 MB / 0.9141 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.1579, allocations: 59.41 kB / 0.9142 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.1587, allocations: 0.9308 MB / 0.9151 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1587, allocations: 41.7 kB / 0.9152 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1589, allocations: 360.9 kB / 0.9155 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.159, allocations: 110.4 kB / 0.9156 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.159, allocations: 97.66 kB / 0.9157 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.1591, allocations: 394.7 kB / 0.9161 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.1594, allocations: 245.8 kB / 0.9163 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.1598, allocations: 0.6465 MB / 0.9169 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.1605, allocations: 0.8954 MB / 0.9178 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1605, allocations: 4 kB / 0.9178 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001104/0.1616, allocations: 1.022 MB / 0.9188 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1616, allocations: 12 kB / 0.9188 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1616, allocations: 19.94 kB / 0.9188 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/0.1619, allocations: 122.7 kB / 0.919 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.1625, allocations: 195.7 kB / 0.9191 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.1643, allocations: 4.165 MB / 0.9232 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.165, allocations: 111 kB / 0.9233 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.165, allocations: 44 kB / 0.9234 GB, free: 38.91 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.1652, allocations: 273.3 kB / 0.9236 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.1653, allocations: 82.88 kB / 0.9237 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.1654, allocations: 84.78 kB / 0.9238 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1654, allocations: 3.938 kB / 0.9238 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1654, allocations: 7.984 kB / 0.9238 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1654, allocations: 3.984 kB / 0.9238 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.1659, allocations: 0.6492 MB / 0.9244 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1659, allocations: 0 / 0.9244 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1662, allocations: 63.88 kB / 0.9245 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.1664, allocations: 102.5 kB / 0.9246 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1664, allocations: 11.98 kB / 0.9246 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.1682, allocations: 4.13 MB / 0.9286 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1682, allocations: 7.875 kB / 0.9286 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.1689, allocations: 0.743 MB / 0.9294 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1691, allocations: 207.9 kB / 0.9296 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/0.1692, allocations: 8 kB / 0.9296 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.1696, allocations: 27.88 kB / 0.9296 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1697, allocations: 31.89 kB / 0.9296 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1697, allocations: 4 kB / 0.9296 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005556/0.1703, allocations: 0.6278 MB / 0.9302 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1703, allocations: 0 / 0.9302 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005874/0.1709, allocations: 263.8 kB / 0.9305 GB, free: 31.09 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008853/0.1718, allocations: 1.296 MB / 0.9318 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008779/0.1726, allocations: 0.925 MB / 0.9327 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1727, allocations: 0 / 0.9327 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.1731, allocations: 0.5351 MB / 0.9332 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.1738, allocations: 171.5 kB / 0.9334 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.1811, allocations: 8.339 MB / 0.9415 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1814, allocations: 0.9917 MB / 0.9425 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.1817, allocations: 137.9 kB / 0.9426 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.182, allocations: 283.3 kB / 0.9429 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.182, allocations: 0 / 0.9429 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4839/0.6659, allocations: 16.28 MB / 0.9588 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.6661, allocations: 238.1 kB / 0.959 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.799, allocations: 0 / 0.959 GB, free: 1.445 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)