Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.292/2.292, allocations: 248.5 MB / 261.1 MB, free: 6.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.001447/0.001447, allocations: 177.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001126/0.001125, allocations: 96.67 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.526e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8599/1.065, allocations: 141.2 MB / 1.029 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.065, allocations: 72.59 kB / 1.029 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1805/1.246, allocations: 28.7 MB / 1.057 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.864e-06/1.246, allocations: 3.938 kB / 1.057 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000177/1.246, allocations: 24 kB / 1.057 GB, free: 0.7578 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004389/1.251, allocations: 1.194 MB / 1.058 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.251, allocations: 8.031 kB / 1.058 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/1.251, allocations: 81.39 kB / 1.058 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/1.252, allocations: 138.2 kB / 1.058 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007005/1.259, allocations: 1.535 MB / 1.06 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/1.259, allocations: 43.44 kB / 1.06 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/1.259, allocations: 62.47 kB / 1.06 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.261, allocations: 0.6516 MB / 1.06 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.261, allocations: 0 / 1.06 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/1.261, allocations: 18.94 kB / 1.06 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/1.261, allocations: 15.94 kB / 1.06 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/1.263, allocations: 0.6108 MB / 1.061 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/1.271, allocations: 2.761 MB / 1.064 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/1.274, allocations: 0.9048 MB / 1.064 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/1.275, allocations: 391.7 kB / 1.065 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/1.275, allocations: 23.61 kB / 1.065 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.275, allocations: 42.17 kB / 1.065 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 3.237e-06/1.275, allocations: 0 / 1.065 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002609/1.278, allocations: 0.8656 MB / 1.066 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.278, allocations: 55.41 kB / 1.066 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/1.28, allocations: 1.04 MB / 1.067 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/1.281, allocations: 39.08 kB / 1.067 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/1.281, allocations: 471.2 kB / 1.067 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/1.282, allocations: 170.8 kB / 1.067 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/1.282, allocations: 15.06 kB / 1.068 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.282, allocations: 351.1 kB / 1.068 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.283, allocations: 0.5321 MB / 1.068 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/1.285, allocations: 0.8521 MB / 1.069 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/1.287, allocations: 0.6409 MB / 1.07 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/1.287, allocations: 8 kB / 1.07 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004415/1.292, allocations: 1.571 MB / 1.071 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.292, allocations: 8 kB / 1.071 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/1.292, allocations: 12 kB / 1.071 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/1.292, allocations: 40.34 kB / 1.071 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/1.295, allocations: 370.5 kB / 1.072 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/1.302, allocations: 6.823 MB / 1.078 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/1.305, allocations: 150.2 kB / 1.079 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/1.305, allocations: 62.17 kB / 1.079 GB, free: 13.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002868/1.306, allocations: 155 kB / 1.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/1.306, allocations: 122.5 kB / 1.079 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/1.309, allocations: 1 MB / 1.08 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.309, allocations: 4 kB / 1.08 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.309, allocations: 0 / 1.08 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.309, allocations: 0 / 1.08 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.311, allocations: 0.965 MB / 1.081 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/1.311, allocations: 0 / 1.081 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.313, allocations: 131.4 kB / 1.081 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/1.313, allocations: 27.91 kB / 1.081 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.313, allocations: 22.05 kB / 1.081 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.315, allocations: 1.327 MB / 1.082 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.315, allocations: 7.969 kB / 1.082 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/1.319, allocations: 1.491 MB / 1.084 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.32, allocations: 376.2 kB / 1.084 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/1.32, allocations: 19.42 kB / 1.084 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.322, allocations: 45.25 kB / 1.084 GB, free: 8.164 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/1.322, allocations: 34.95 kB / 1.084 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/1.322, allocations: 34.61 kB / 1.084 GB, free: 8.102 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001792/1.324, allocations: 0.764 MB / 1.085 GB, free: 7.527 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.885e-06/1.324, allocations: 0 / 1.085 GB, free: 7.527 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001975/1.326, allocations: 387.5 kB / 1.085 GB, free: 7.172 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004004/1.33, allocations: 2.073 MB / 1.087 GB, free: 5.344 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003949/1.334, allocations: 1.504 MB / 1.089 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.334, allocations: 2.938 kB / 1.089 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009913/1.335, allocations: 465.9 kB / 1.089 GB, free: 3.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/1.337, allocations: 215.9 kB / 1.09 GB, free: 3.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/1.345, allocations: 2.407 MB / 1.092 GB, free: 1.305 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.347, allocations: 1.118 MB / 1.093 GB, free: 164 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001207/1.348, allocations: 203.3 kB / 1.093 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/1.349, allocations: 403.2 kB / 1.094 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/1.349, allocations: 4 kB / 1.094 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08146/1.43, allocations: 24.71 MB / 1.118 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004002/1.431, allocations: 190.5 kB / 1.118 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.875, allocations: 0 / 1.118 GB, free: 6.91 MB / 0.7292 GB