Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.273/2.273, allocations: 248.7 MB / 256.2 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 179.2 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 85.8 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.23e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8641/1.065, allocations: 141.4 MB / 1.022 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.065, allocations: 75.97 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.18/1.245, allocations: 28.13 MB / 1.05 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.114e-06/1.245, allocations: 0 / 1.05 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.659e-05/1.245, allocations: 19.98 kB / 1.05 GB, free: 6.359 MB / 0.6667 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.002391/1.248, allocations: 0.9398 MB / 1.051 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.248, allocations: 12.03 kB / 1.051 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000421/1.248, allocations: 110.2 kB / 1.051 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/1.252, allocations: 1.051 MB / 1.052 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/1.252, allocations: 16 kB / 1.052 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/1.252, allocations: 32 kB / 1.052 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005592/1.253, allocations: 189.1 kB / 1.052 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/1.253, allocations: 345.7 kB / 1.052 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.253, allocations: 4 kB / 1.052 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/1.253, allocations: 4 kB / 1.052 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/1.253, allocations: 8 kB / 1.052 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/1.258, allocations: 2.487 MB / 1.055 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/1.261, allocations: 0.5287 MB / 1.055 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/1.261, allocations: 143.2 kB / 1.055 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/1.261, allocations: 4 kB / 1.055 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.261, allocations: 38.25 kB / 1.055 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 2.806e-06/1.261, allocations: 0 / 1.055 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.00138/1.263, allocations: 434.4 kB / 1.056 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.263, allocations: 55.41 kB / 1.056 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.264, allocations: 0.7567 MB / 1.057 GB, free: 24 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/1.264, allocations: 29.7 kB / 1.057 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/1.265, allocations: 357.1 kB / 1.057 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/1.265, allocations: 116 kB / 1.057 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/1.265, allocations: 0 / 1.057 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.265, allocations: 396.8 kB / 1.058 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/1.266, allocations: 213.6 kB / 1.058 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008301/1.267, allocations: 0.6021 MB / 1.058 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/1.267, allocations: 318.9 kB / 1.059 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/1.267, allocations: 8.609 kB / 1.059 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00235/1.27, allocations: 0.8834 MB / 1.06 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.27, allocations: 12 kB / 1.06 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/1.27, allocations: 12 kB / 1.06 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.27, allocations: 124.1 kB / 1.06 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.272, allocations: 191 kB / 1.06 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/1.276, allocations: 4.027 MB / 1.064 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/1.278, allocations: 130.8 kB / 1.064 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.278, allocations: 42.75 kB / 1.064 GB, free: 8.809 MB / 0.6823 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 () * 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.0001948/1.279, allocations: 146.6 kB / 1.064 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001132/1.28, allocations: 433 kB / 1.064 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/1.28, allocations: 82.92 kB / 1.065 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.28, allocations: 78.64 kB / 1.065 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.28, allocations: 0 / 1.065 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.28, allocations: 4 kB / 1.065 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.28, allocations: 3.984 kB / 1.065 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/1.281, allocations: 0.6562 MB / 1.065 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.281, allocations: 0 / 1.065 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/1.282, allocations: 63.89 kB / 1.065 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/1.283, allocations: 96.31 kB / 1.065 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/1.283, allocations: 15.94 kB / 1.065 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/1.287, allocations: 4.014 MB / 1.069 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.287, allocations: 3.938 kB / 1.069 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/1.289, allocations: 0.6842 MB / 1.07 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/1.29, allocations: 211.5 kB / 1.07 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/1.29, allocations: 7.984 kB / 1.07 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.292, allocations: 39.88 kB / 1.07 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.292, allocations: 31.23 kB / 1.07 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/1.293, allocations: 7.5 kB / 1.07 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001667/1.294, allocations: 0.5449 MB / 1.071 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.21e-07/1.294, allocations: 0 / 1.071 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002502/1.297, allocations: 287.1 kB / 1.071 GB, free: 1.777 MB / 0.6823 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 () * 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.002993/1.3, allocations: 1.293 MB / 1.072 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002793/1.303, allocations: 0.8418 MB / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.303, allocations: 0 / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.304, allocations: 497.5 kB / 1.074 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.306, allocations: 162.6 kB / 1.074 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/1.312, allocations: 1.536 MB / 1.075 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.314, allocations: 1.006 MB / 1.076 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001224/1.315, allocations: 145.6 kB / 1.076 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/1.316, allocations: 286.1 kB / 1.077 GB, free: 12.54 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/1.316, allocations: 0 / 1.077 GB, free: 12.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08645/1.402, allocations: 15.4 MB / 1.092 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/1.403, allocations: 146.1 kB / 1.092 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/4.624, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.7136 GB