Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.484/2.484, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001397/0.001397, allocations: 180.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 99.84 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.367e-05, allocations: 4 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8008, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2502/1.051, allocations: 146.8 MB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.051, allocations: 80.48 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1744/1.226, allocations: 28.19 MB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.896e-06/1.226, allocations: 0 / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001349/1.226, allocations: 24 kB / 1.134 GB, free: 13.32 MB / 0.7448 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.00402/1.23, allocations: 1.197 MB / 1.136 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.23, allocations: 10.19 kB / 1.136 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009204/1.231, allocations: 134.4 kB / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006658/1.238, allocations: 1.534 MB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/1.238, allocations: 16 kB / 1.137 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/1.238, allocations: 40 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/1.24, allocations: 0.5803 MB / 1.138 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/1.241, allocations: 0.6001 MB / 1.138 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.241, allocations: 3.938 kB / 1.138 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/1.241, allocations: 0 / 1.138 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/1.241, allocations: 8 kB / 1.138 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007584/1.249, allocations: 2.67 MB / 1.141 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/1.252, allocations: 0.8887 MB / 1.142 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009484/1.253, allocations: 373.4 kB / 1.142 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/1.253, allocations: 32.27 kB / 1.142 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.253, allocations: 38.94 kB / 1.142 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 3.197e-06/1.253, allocations: 0 / 1.142 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.002673/1.256, allocations: 0.853 MB / 1.143 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.256, allocations: 55.41 kB / 1.143 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.258, allocations: 0.9676 MB / 1.144 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/1.258, allocations: 33.7 kB / 1.144 GB, free: 3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/1.259, allocations: 460.7 kB / 1.145 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/1.259, allocations: 169.5 kB / 1.145 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/1.259, allocations: 0 / 1.145 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.26, allocations: 347.8 kB / 1.145 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.261, allocations: 0.518 MB / 1.146 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.262, allocations: 0.8329 MB / 1.146 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/1.265, allocations: 0.7224 MB / 1.147 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/1.265, allocations: 4 kB / 1.147 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005212/1.27, allocations: 1.568 MB / 1.149 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/1.27, allocations: 8 kB / 1.149 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-05/1.27, allocations: 19.94 kB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/1.271, allocations: 44.84 kB / 1.149 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/1.274, allocations: 363.9 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/1.281, allocations: 6.898 MB / 1.156 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/1.283, allocations: 134.6 kB / 1.156 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/1.284, allocations: 63.98 kB / 1.156 GB, free: 6.395 MB / 0.7605 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.0002667/1.284, allocations: 142.5 kB / 1.156 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002435/1.286, allocations: 0.8362 MB / 1.157 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/1.287, allocations: 118.5 kB / 1.157 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/1.29, allocations: 0.9678 MB / 1.158 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.29, allocations: 8 kB / 1.158 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.29, allocations: 0 / 1.158 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.29, allocations: 0 / 1.158 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/1.292, allocations: 0.9056 MB / 1.159 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.292, allocations: 3.984 kB / 1.159 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.293, allocations: 115.9 kB / 1.159 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/1.293, allocations: 32.83 kB / 1.159 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.522e-05/1.293, allocations: 23.98 kB / 1.159 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/1.295, allocations: 1.291 MB / 1.16 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.295, allocations: 8.094 kB / 1.16 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/1.299, allocations: 1.464 MB / 1.162 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.3, allocations: 373.6 kB / 1.162 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/1.3, allocations: 4 kB / 1.162 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.302, allocations: 45.67 kB / 1.162 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.302, allocations: 43.89 kB / 1.162 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.302, allocations: 35.98 kB / 1.162 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001727/1.304, allocations: 0.7024 MB / 1.163 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.31e-07/1.304, allocations: 1.781 kB / 1.163 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001986/1.306, allocations: 347.6 kB / 1.163 GB, free: 14.73 MB / 0.7761 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.003914/1.31, allocations: 2.045 MB / 1.165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003808/1.314, allocations: 1.462 MB / 1.167 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.314, allocations: 0.75 kB / 1.167 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/1.315, allocations: 449.5 kB / 1.167 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.317, allocations: 201.6 kB / 1.167 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/1.323, allocations: 2.356 MB / 1.17 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.325, allocations: 1.125 MB / 1.171 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001215/1.326, allocations: 210.5 kB / 1.171 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.327, allocations: 403.3 kB / 1.171 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of SimCode: time 1.723e-06/1.327, allocations: 0 / 1.171 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09043/1.417, allocations: 21.81 MB / 1.193 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/1.418, allocations: 141.3 kB / 1.193 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.795, allocations: 0 / 1.193 GB, free: 0.8203 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)