Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001122/0.001122, allocations: 186.9 kB / 371.8 MB, free: 10.28 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.642/1.642, 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.001002/0.001002, allocations: 105.5 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 10 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7419/0.9785, allocations: 147.8 MB / 1.124 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.9788, allocations: 80.16 kB / 1.124 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09389/1.073, allocations: 28.68 MB / 1.152 GB, free: 22.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.704e-06/1.073, allocations: 0 / 1.152 GB, free: 22.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001546/1.073, allocations: 30.83 kB / 1.152 GB, free: 22.51 MB / 0.698 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.005336/1.078, allocations: 1.56 MB / 1.153 GB, free: 21.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.078, allocations: 20 kB / 1.153 GB, free: 21.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00029/1.079, allocations: 78.09 kB / 1.153 GB, free: 21.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/1.08, allocations: 130.4 kB / 1.154 GB, free: 21.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/1.085, allocations: 1.558 MB / 1.155 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/1.085, allocations: 45.73 kB / 1.155 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/1.085, allocations: 71.95 kB / 1.155 GB, free: 19.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/1.086, allocations: 0.6532 MB / 1.156 GB, free: 19.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.086, allocations: 11.89 kB / 1.156 GB, free: 19.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/1.086, allocations: 20 kB / 1.156 GB, free: 19.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.086, allocations: 8 kB / 1.156 GB, free: 19.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/1.087, allocations: 0.6273 MB / 1.157 GB, free: 18.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005076/1.092, allocations: 2.749 MB / 1.159 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.094, allocations: 0.9306 MB / 1.16 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.382e-05/1.094, allocations: 20.36 kB / 1.16 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.094, allocations: 49.5 kB / 1.16 GB, free: 15.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.415e-06/1.094, allocations: 0 / 1.16 GB, free: 15.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002191/1.096, allocations: 1.297 MB / 1.161 GB, free: 14.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/1.096, allocations: 59.41 kB / 1.162 GB, free: 14.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.099, allocations: 1.048 MB / 1.163 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.099, allocations: 41.7 kB / 1.163 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.099, allocations: 470.1 kB / 1.163 GB, free: 13.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.1, allocations: 169.7 kB / 1.163 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/1.1, allocations: 18.12 kB / 1.163 GB, free: 13.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002244/1.1, allocations: 352.2 kB / 1.164 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008612/1.101, allocations: 0.5533 MB / 1.164 GB, free: 12.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.102, allocations: 0.8678 MB / 1.165 GB, free: 11.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/1.103, allocations: 0.6434 MB / 1.166 GB, free: 11.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/1.103, allocations: 4 kB / 1.166 GB, free: 11.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002538/1.105, allocations: 1.606 MB / 1.167 GB, free: 10.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/1.105, allocations: 11.95 kB / 1.167 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/1.105, allocations: 15.94 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/1.106, allocations: 48.2 kB / 1.167 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.107, allocations: 370.5 kB / 1.168 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/1.112, allocations: 6.834 MB / 1.174 GB, free: 2.953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.114, allocations: 145.1 kB / 1.174 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.114, allocations: 62.36 kB / 1.174 GB, free: 2.77 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 () * Number of clocked 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.0007036/1.115, allocations: 303.9 kB / 1.175 GB, free: 2.527 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/1.115, allocations: 110.5 kB / 1.175 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/1.117, allocations: 1.025 MB / 1.176 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.117, allocations: 7.984 kB / 1.176 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.117, allocations: 4 kB / 1.176 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.117, allocations: 0 / 1.176 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/1.118, allocations: 0.9662 MB / 1.177 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.118, allocations: 4 kB / 1.177 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/1.119, allocations: 123.2 kB / 1.177 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/1.119, allocations: 27.78 kB / 1.177 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/1.119, allocations: 23.5 kB / 1.177 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/1.12, allocations: 1.345 MB / 1.178 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.12, allocations: 256 / 1.178 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/1.123, allocations: 1.524 MB / 1.18 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/1.123, allocations: 367.3 kB / 1.18 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.124, allocations: 18.55 kB / 1.18 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/1.125, allocations: 55.14 kB / 1.18 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.125, allocations: 31.58 kB / 1.18 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/1.125, allocations: 31.75 kB / 1.18 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001398/1.126, allocations: 0.7791 MB / 1.181 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/1.126, allocations: 0 / 1.181 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001559/1.128, allocations: 386.8 kB / 1.181 GB, free: 12.66 MB / 0.7136 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 () * Number of clocked 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.002726/1.131, allocations: 2.095 MB / 1.183 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002581/1.133, allocations: 1.528 MB / 1.185 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.133, allocations: 0 / 1.185 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/1.134, allocations: 491.3 kB / 1.185 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.135, allocations: 212.7 kB / 1.186 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/1.145, allocations: 10.69 MB / 1.196 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009867/1.146, allocations: 1.118 MB / 1.197 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008927/1.147, allocations: 215.2 kB / 1.197 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.147, allocations: 401.2 kB / 1.198 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of SimCode: time 1.412e-06/1.147, allocations: 0 / 1.198 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05226/1.2, allocations: 24.09 MB / 1.221 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.2, allocations: 221.7 kB / 1.221 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.867, allocations: 0 / 1.221 GB, free: 5.059 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)