Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.001685/0.001684, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.713/1.713, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001452/0.001452, allocations: 65.31 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003754/0.2519, allocations: 1.906 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2531, allocations: 0.6751 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2532, allocations: 4 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.2535, allocations: 59.62 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2538, allocations: 71.52 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.254, allocations: 75.89 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.2546, allocations: 0.6902 MB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2548, allocations: 29.09 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.255, allocations: 231.6 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.2554, allocations: 275.3 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.2555, allocations: 51.94 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.2556, allocations: 48 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.2559, allocations: 183.6 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.2562, allocations: 215.2 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.2566, allocations: 0.4989 MB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2566, allocations: 0 / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2566, allocations: 4 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2567, allocations: 0 / 0.7883 GB, free: 8.391 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002154/0.2588, allocations: 0.7599 MB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2589, allocations: 12.03 kB / 0.7891 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.2589, allocations: 42.75 kB / 0.7891 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.498e-05/0.259, allocations: 28.66 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.2594, allocations: 316.2 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2595, allocations: 20.17 kB / 0.7895 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.2596, allocations: 35.91 kB / 0.7895 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.2599, allocations: 176.5 kB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2599, allocations: 4 kB / 0.7897 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.2599, allocations: 11.94 kB / 0.7897 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.26, allocations: 0 / 0.7897 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.2602, allocations: 144.6 kB / 0.7898 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/0.2647, allocations: 1.295 MB / 0.7911 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.2661, allocations: 468.6 kB / 0.7915 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2663, allocations: 116.8 kB / 0.7916 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.2663, allocations: 3.984 kB / 0.7917 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2664, allocations: 34.56 kB / 0.7917 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.2664, allocations: 0 / 0.7917 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.0007462/0.2671, allocations: 357.4 kB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2672, allocations: 59.39 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.2675, allocations: 294.4 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.2675, allocations: 33.7 kB / 0.7924 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2677, allocations: 132.9 kB / 0.7925 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.2678, allocations: 71 kB / 0.7926 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.268, allocations: 118.2 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2682, allocations: 338.8 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.2686, allocations: 269 kB / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.2691, allocations: 324.6 kB / 0.7936 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.2698, allocations: 442.6 kB / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2698, allocations: 0 / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001139/0.271, allocations: 0.6976 MB / 0.7947 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.271, allocations: 4 kB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.271, allocations: 4.031 kB / 0.7947 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2711, allocations: 4 kB / 0.7947 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.2718, allocations: 127.8 kB / 0.7948 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.2718, allocations: 4 kB / 0.7948 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2731, allocations: 91.28 kB / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.2732, allocations: 19.92 kB / 0.7949 GB, free: 1.367 MB / 0.6075 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 (61): * Single equations (assignments): 61 * 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.0001648/0.2733, allocations: 166.4 kB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.2734, allocations: 23.66 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.2735, allocations: 26.17 kB / 0.7951 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2735, allocations: 4 kB / 0.7951 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.2735, allocations: 0 / 0.7951 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2735, allocations: 3.938 kB / 0.7952 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.2741, allocations: 429 kB / 0.7956 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2741, allocations: 4 kB / 0.7956 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.2743, allocations: 47.84 kB / 0.7956 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2743, allocations: 4 kB / 0.7956 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.2744, allocations: 11.98 kB / 0.7956 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2744, allocations: 0 / 0.7956 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2744, allocations: 4 kB / 0.7956 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.2751, allocations: 489.8 kB / 0.7961 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.2752, allocations: 104.8 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.2752, allocations: 11.98 kB / 0.7962 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.2758, allocations: 27.91 kB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.2759, allocations: 7.984 kB / 0.7962 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2759, allocations: 8 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001722/0.2761, allocations: 193.9 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2761, allocations: 3.938 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005137/0.2766, allocations: 196 kB / 0.7966 GB, free: 15.55 MB / 0.6231 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],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * 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.0009019/0.2775, allocations: 1.021 MB / 0.7976 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008917/0.2784, allocations: 490.9 kB / 0.7981 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2784, allocations: 0 / 0.7981 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.2787, allocations: 126.3 kB / 0.7982 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.2792, allocations: 56.61 kB / 0.7983 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.2855, allocations: 4.33 MB / 0.8025 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.286, allocations: 0.7713 MB / 0.8032 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.2863, allocations: 86.22 kB / 0.8033 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.2865, allocations: 87.39 kB / 0.8034 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.2865, allocations: 0 / 0.8034 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3163, allocations: 8.789 MB / 0.812 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.444, allocations: 7.688 kB / 0.812 GB, free: 15.79 MB / 0.6387 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv --start-time 0 --stop-time 36000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)