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.709/1.709, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001069/0.001069, allocations: 189 kB / 371.8 MB, free: 10.29 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.597/1.597, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.000892/0.0008921, allocations: 93.56 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005735/0.0005738, allocations: 11 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2521, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003017/0.2552, allocations: 3 MB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.2586, allocations: 2.415 MB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.259, allocations: 11.94 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.2598, allocations: 286.7 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.2605, allocations: 394.9 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2616, allocations: 424.6 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.2623, allocations: 0.7758 MB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.2626, allocations: 131.4 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.2629, allocations: 319 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.2633, allocations: 330.7 kB / 0.9873 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.2633, allocations: 24 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.2634, allocations: 28 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.2637, allocations: 319.1 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2638, allocations: 189.2 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.2642, allocations: 0.6701 MB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2642, allocations: 0 / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2642, allocations: 0 / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.2642, allocations: 0 / 0.9885 GB, free: 18.34 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.001721/0.266, allocations: 1.136 MB / 0.9896 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.266, allocations: 12.03 kB / 0.9896 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.546e-05/0.2661, allocations: 74.53 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2662, allocations: 102.8 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.267, allocations: 0.5812 MB / 0.9904 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2671, allocations: 40.66 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.2672, allocations: 59.91 kB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.2677, allocations: 410.9 kB / 0.9909 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2677, allocations: 0 / 0.9909 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2677, allocations: 16 kB / 0.9909 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2678, allocations: 8 kB / 0.9909 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.2681, allocations: 234.4 kB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.2706, allocations: 2.498 MB / 0.9935 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.2718, allocations: 0.5499 MB / 0.9941 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2719, allocations: 4 kB / 0.9941 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2719, allocations: 38.56 kB / 0.9941 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.2719, allocations: 0 / 0.9941 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.00137/0.2733, allocations: 0.8869 MB / 0.995 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.2733, allocations: 55.41 kB / 0.995 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008526/0.2742, allocations: 0.8918 MB / 0.9959 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.2742, allocations: 49.62 kB / 0.996 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.2744, allocations: 368.8 kB / 0.9963 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.2745, allocations: 110.3 kB / 0.9964 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.2746, allocations: 23.94 kB / 0.9964 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2747, allocations: 390.8 kB / 0.9968 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.275, allocations: 245.8 kB / 0.997 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.2755, allocations: 0.631 MB / 0.9977 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.2759, allocations: 339.4 kB / 0.998 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.2759, allocations: 4 kB / 0.998 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001251/0.2771, allocations: 1.014 MB / 0.999 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2772, allocations: 16.52 kB / 0.999 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.2772, allocations: 16 kB / 0.999 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.2776, allocations: 122.4 kB / 0.9991 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.2781, allocations: 187.7 kB / 0.9993 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.2804, allocations: 4.201 MB / 1.003 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.2813, allocations: 118.9 kB / 1.004 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.2814, allocations: 43.94 kB / 1.004 GB, free: 1.844 MB / 0.6198 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.0002898/0.2817, allocations: 269.5 kB / 1.004 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.2818, allocations: 78.97 kB / 1.004 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.2819, allocations: 76.53 kB / 1.004 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2819, allocations: 0 / 1.004 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2819, allocations: 4 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2819, allocations: 7.938 kB / 1.004 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.2825, allocations: 0.6375 MB / 1.005 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2825, allocations: 0 / 1.005 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.2828, allocations: 71.88 kB / 1.005 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.2831, allocations: 98.5 kB / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.2831, allocations: 8 kB / 1.005 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.286, allocations: 4.173 MB / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.286, allocations: 0 / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.2872, allocations: 0.7315 MB / 1.01 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.2875, allocations: 203.9 kB / 1.01 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.2876, allocations: 11.94 kB / 1.01 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.2881, allocations: 23.97 kB / 1.01 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.2882, allocations: 31.95 kB / 1.01 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.2882, allocations: 12 kB / 1.01 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008028/0.289, allocations: 0.5926 MB / 1.01 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/0.289, allocations: 0 / 1.01 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009271/0.2899, allocations: 275.7 kB / 1.011 GB, free: 10.04 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.001429/0.2914, allocations: 1.298 MB / 1.012 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.2929, allocations: 0.924 MB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.2929, allocations: 0.8125 kB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.2935, allocations: 0.5272 MB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.2943, allocations: 152 kB / 1.013 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.3031, allocations: 12.2 MB / 1.025 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/0.304, allocations: 1.007 MB / 1.026 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007285/0.3047, allocations: 137.6 kB / 1.027 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.3054, allocations: 279.3 kB / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of SimCode: time 1.313e-06/0.3054, allocations: 0 / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.3396, allocations: 15.86 MB / 1.042 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.3399, allocations: 211.1 kB / 1.042 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/3.028, allocations: 0 / 1.042 GB, free: 9.215 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)