Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 195.3 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 292.3 MB / 0.5484 GB, free: 13.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.72 kB / 0.6709 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1592, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00376/0.163, allocations: 3.76 MB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.166, allocations: 2.565 MB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.1662, allocations: 11.94 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.1668, allocations: 226.7 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.1674, allocations: 478 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.1682, allocations: 478.2 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1694, allocations: 1.62 MB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.1695, allocations: 132.7 kB / 0.7918 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.1699, allocations: 378.5 kB / 0.7922 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.1704, allocations: 0.5215 MB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.1705, allocations: 36 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1706, allocations: 44 kB / 0.7928 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.1709, allocations: 315 kB / 0.7931 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1712, allocations: 441.6 kB / 0.7935 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.1718, allocations: 0.899 MB / 0.7944 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1718, allocations: 0 / 0.7944 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1718, allocations: 4 kB / 0.7944 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.1718, allocations: 0 / 0.7944 GB, free: 1.977 MB / 0.6075 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.0018/0.1736, allocations: 1.269 MB / 0.7956 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.1737, allocations: 8.031 kB / 0.7956 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.1737, allocations: 74.72 kB / 0.7957 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1738, allocations: 99.81 kB / 0.7958 GB, free: 480 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.1746, allocations: 0.6519 MB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.1747, allocations: 41.03 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.1748, allocations: 64.12 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.1753, allocations: 414.9 kB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1753, allocations: 0 / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1753, allocations: 16 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1753, allocations: 8 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.1757, allocations: 238.4 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.1781, allocations: 2.498 MB / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1794, allocations: 0.5571 MB / 0.8001 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1796, allocations: 160.8 kB / 0.8003 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1796, allocations: 0 / 0.8003 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1797, allocations: 38.56 kB / 0.8003 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.012e-06/0.1797, allocations: 4 kB / 0.8003 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001342/0.181, allocations: 0.8784 MB / 0.8012 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.181, allocations: 55.41 kB / 0.8012 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.182, allocations: 0.9231 MB / 0.8021 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.182, allocations: 49.58 kB / 0.8022 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.1822, allocations: 360.8 kB / 0.8025 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/0.1823, allocations: 122.4 kB / 0.8027 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.1825, allocations: 170.6 kB / 0.8028 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1826, allocations: 390.8 kB / 0.8032 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.183, allocations: 245.8 kB / 0.8034 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.1835, allocations: 0.6349 MB / 0.804 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.1844, allocations: 0.899 MB / 0.8049 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1844, allocations: 4 kB / 0.8049 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001325/0.1857, allocations: 1.018 MB / 0.8059 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1857, allocations: 8 kB / 0.8059 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1857, allocations: 19.94 kB / 0.8059 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.1861, allocations: 126.8 kB / 0.8061 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.1866, allocations: 183.7 kB / 0.8062 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.1892, allocations: 4.165 MB / 0.8103 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.1899, allocations: 115 kB / 0.8104 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.1899, allocations: 36 kB / 0.8105 GB, free: 216 kB / 0.6231 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.0002523/0.1902, allocations: 269.5 kB / 0.8107 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1903, allocations: 82.88 kB / 0.8108 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1904, allocations: 80.58 kB / 0.8109 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1904, allocations: 7.938 kB / 0.8109 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1904, allocations: 4 kB / 0.8109 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1904, allocations: 0 / 0.8109 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.191, allocations: 0.6569 MB / 0.8115 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1911, allocations: 0 / 0.8115 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.1914, allocations: 63.95 kB / 0.8116 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.1916, allocations: 114.6 kB / 0.8117 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1917, allocations: 8 kB / 0.8117 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.1941, allocations: 4.13 MB / 0.8157 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1941, allocations: 4.062 kB / 0.8157 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.195, allocations: 0.7359 MB / 0.8165 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.1952, allocations: 203.9 kB / 0.8166 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.1953, allocations: 19.88 kB / 0.8167 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.1957, allocations: 27.91 kB / 0.8167 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1958, allocations: 27.91 kB / 0.8167 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1958, allocations: 8 kB / 0.8167 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006624/0.1965, allocations: 0.6239 MB / 0.8173 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1965, allocations: 0 / 0.8173 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006822/0.1972, allocations: 267.8 kB / 0.8176 GB, free: 8.391 MB / 0.6387 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.001117/0.1983, allocations: 1.288 MB / 0.8188 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.1994, allocations: 0.9196 MB / 0.8197 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1994, allocations: 1 kB / 0.8197 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.1999, allocations: 0.524 MB / 0.8203 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.2007, allocations: 171.5 kB / 0.8204 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008943/0.2096, allocations: 8.338 MB / 0.8286 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.2101, allocations: 0.9917 MB / 0.8295 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003337/0.2104, allocations: 149.9 kB / 0.8297 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.2107, allocations: 279.3 kB / 0.8299 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.2108, allocations: 0 / 0.8299 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.288/3.499, allocations: 16.46 MB / 0.846 GB, free: 10.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/3.499, allocations: 228.3 kB / 0.8462 GB, free: 10.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/5.67, allocations: 0 / 0.8462 GB, free: 10.54 MB / 0.67 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)