Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001041/0.001041, allocations: 179.5 kB / 371.6 MB, free: 3.348 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.724/1.724, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.0009009/0.0009009, allocations: 90.2 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.983e-05/4.992e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9857/1.296, allocations: 148.6 MB / 1.125 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.296, allocations: 80.06 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1035/1.4, allocations: 28.68 MB / 1.153 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/1.4, allocations: 0 / 1.153 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.409e-05/1.4, allocations: 24 kB / 1.153 GB, free: 21.59 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.002425/1.402, allocations: 1.195 MB / 1.154 GB, free: 20.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.402, allocations: 9.625 kB / 1.154 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/1.402, allocations: 85.97 kB / 1.154 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/1.403, allocations: 137.6 kB / 1.155 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/1.406, allocations: 1.529 MB / 1.156 GB, free: 19.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/1.407, allocations: 47.23 kB / 1.156 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.407, allocations: 67.06 kB / 1.156 GB, free: 19.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.408, allocations: 0.6526 MB / 1.157 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.408, allocations: 3.953 kB / 1.157 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/1.408, allocations: 14.5 kB / 1.157 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/1.408, allocations: 8 kB / 1.157 GB, free: 18.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/1.409, allocations: 0.6115 MB / 1.157 GB, free: 18.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004597/1.413, allocations: 2.765 MB / 1.16 GB, free: 16.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/1.415, allocations: 0.9121 MB / 1.161 GB, free: 16.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/1.415, allocations: 388.4 kB / 1.161 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/1.416, allocations: 25.67 kB / 1.161 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.416, allocations: 34.94 kB / 1.161 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 3.006e-06/1.416, allocations: 0 / 1.161 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.001544/1.417, allocations: 0.873 MB / 1.162 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.417, allocations: 59.41 kB / 1.162 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.419, allocations: 1.033 MB / 1.163 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/1.419, allocations: 40.64 kB / 1.163 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/1.419, allocations: 469.7 kB / 1.164 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/1.419, allocations: 171.1 kB / 1.164 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/1.419, allocations: 17.38 kB / 1.164 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/1.419, allocations: 352 kB / 1.164 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/1.42, allocations: 0.5313 MB / 1.165 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/1.421, allocations: 0.8584 MB / 1.166 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/1.421, allocations: 0.6394 MB / 1.166 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.422, allocations: 4 kB / 1.166 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002104/1.424, allocations: 1.561 MB / 1.168 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/1.424, allocations: 20.64 kB / 1.168 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.424, allocations: 12 kB / 1.168 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/1.424, allocations: 44.64 kB / 1.168 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.425, allocations: 366.7 kB / 1.168 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/1.429, allocations: 6.823 MB / 1.175 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.43, allocations: 153.2 kB / 1.175 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.431, allocations: 58.88 kB / 1.175 GB, free: 3.516 MB / 0.7448 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.00019/1.431, allocations: 167.3 kB / 1.175 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.431, allocations: 107.6 kB / 1.175 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/1.433, allocations: 1.004 MB / 1.176 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.433, allocations: 8 kB / 1.176 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.433, allocations: 0 / 1.176 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.433, allocations: 0 / 1.176 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/1.434, allocations: 0.9614 MB / 1.177 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.434, allocations: 0 / 1.177 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/1.434, allocations: 127.3 kB / 1.177 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/1.435, allocations: 32.47 kB / 1.177 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/1.435, allocations: 22.92 kB / 1.177 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008299/1.435, allocations: 1.333 MB / 1.179 GB, free: 16.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.435, allocations: 2.125 kB / 1.179 GB, free: 16.11 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.437, allocations: 1.495 MB / 1.18 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/1.438, allocations: 368.3 kB / 1.181 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.438, allocations: 15.3 kB / 1.181 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/1.439, allocations: 47.25 kB / 1.181 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.439, allocations: 35.45 kB / 1.181 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/1.439, allocations: 43.86 kB / 1.181 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00129/1.441, allocations: 0.7612 MB / 1.181 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.81e-07/1.441, allocations: 0 / 1.181 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001549/1.442, allocations: 380.2 kB / 1.182 GB, free: 13.55 MB / 0.7605 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.002897/1.445, allocations: 2.076 MB / 1.184 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002743/1.448, allocations: 1.51 MB / 1.185 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.448, allocations: 256 / 1.185 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006216/1.449, allocations: 464.3 kB / 1.186 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.45, allocations: 219.2 kB / 1.186 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/1.455, allocations: 2.39 MB / 1.188 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008313/1.455, allocations: 1.121 MB / 1.189 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007254/1.456, allocations: 202.5 kB / 1.19 GB, free: 6.488 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/1.457, allocations: 404.7 kB / 1.19 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/1.457, allocations: 4 kB / 1.19 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05407/1.511, allocations: 24.73 MB / 1.214 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.511, allocations: 184.1 kB / 1.214 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/4.478, allocations: 0 / 1.214 GB, free: 13.77 MB / 0.7917 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)