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.571/2.571, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001687/0.001687, allocations: 180.2 kB / 370.8 MB, free: 10.89 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.511/2.511, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001092/0.001092, allocations: 105.4 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008629/0.0008629, allocations: 11.67 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2284, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9964/1.225, allocations: 147.6 MB / 1.122 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/1.225, allocations: 80.2 kB / 1.122 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2005/1.426, allocations: 28.67 MB / 1.15 GB, free: 22.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.695e-06/1.426, allocations: 3.938 kB / 1.15 GB, free: 22.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001301/1.426, allocations: 23.41 kB / 1.15 GB, free: 22.64 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.007803/1.434, allocations: 1.571 MB / 1.152 GB, free: 21.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.434, allocations: 11.7 kB / 1.152 GB, free: 21.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/1.434, allocations: 80.84 kB / 1.152 GB, free: 21.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007494/1.435, allocations: 128.1 kB / 1.152 GB, free: 21.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/1.442, allocations: 1.56 MB / 1.154 GB, free: 20.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/1.442, allocations: 43 kB / 1.154 GB, free: 20.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.442, allocations: 67.03 kB / 1.154 GB, free: 20.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/1.443, allocations: 0.672 MB / 1.155 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.443, allocations: 0 / 1.155 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/1.443, allocations: 14.44 kB / 1.155 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.443, allocations: 12 kB / 1.155 GB, free: 20.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/1.445, allocations: 0.6306 MB / 1.155 GB, free: 19.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/1.452, allocations: 2.749 MB / 1.158 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.454, allocations: 0.9263 MB / 1.159 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/1.454, allocations: 28.3 kB / 1.159 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.454, allocations: 38 kB / 1.159 GB, free: 16.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.267e-06/1.454, allocations: 0 / 1.159 GB, free: 16.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.003717/1.458, allocations: 1.296 MB / 1.16 GB, free: 15.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/1.458, allocations: 63.41 kB / 1.16 GB, free: 15.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/1.461, allocations: 1.05 MB / 1.161 GB, free: 14.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.461, allocations: 42.2 kB / 1.161 GB, free: 14.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/1.462, allocations: 466.9 kB / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/1.462, allocations: 177 kB / 1.162 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/1.462, allocations: 20.31 kB / 1.162 GB, free: 14.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.462, allocations: 347.1 kB / 1.162 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/1.464, allocations: 0.5491 MB / 1.163 GB, free: 13.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/1.465, allocations: 0.8708 MB / 1.164 GB, free: 12.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/1.467, allocations: 0.6481 MB / 1.164 GB, free: 12.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/1.467, allocations: 8 kB / 1.164 GB, free: 12.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004736/1.472, allocations: 1.599 MB / 1.166 GB, free: 11.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/1.472, allocations: 13.72 kB / 1.166 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-05/1.472, allocations: 12 kB / 1.166 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/1.473, allocations: 40.41 kB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/1.476, allocations: 373.2 kB / 1.166 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006901/1.483, allocations: 6.838 MB / 1.173 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.485, allocations: 144.2 kB / 1.173 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/1.486, allocations: 62.61 kB / 1.173 GB, free: 3.938 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.0008627/1.486, allocations: 309.2 kB / 1.173 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/1.487, allocations: 114.5 kB / 1.173 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/1.49, allocations: 1.023 MB / 1.174 GB, free: 2.797 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.49, allocations: 8 kB / 1.174 GB, free: 2.789 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.49, allocations: 4 kB / 1.174 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.49, allocations: 0 / 1.174 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.493, allocations: 0.9608 MB / 1.175 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.493, allocations: 0 / 1.175 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.494, allocations: 123 kB / 1.176 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/1.494, allocations: 32.22 kB / 1.176 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.494, allocations: 27.73 kB / 1.176 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/1.497, allocations: 1.337 MB / 1.177 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.497, allocations: 4.25 kB / 1.177 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004755/1.502, allocations: 1.519 MB / 1.178 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.503, allocations: 372.7 kB / 1.179 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.503, allocations: 14.56 kB / 1.179 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.505, allocations: 55.52 kB / 1.179 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.505, allocations: 35.45 kB / 1.179 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.506, allocations: 35.11 kB / 1.179 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002013/1.508, allocations: 0.7773 MB / 1.18 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/1.508, allocations: 0 / 1.18 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00208/1.51, allocations: 383.6 kB / 1.18 GB, free: 13.83 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.004268/1.514, allocations: 2.091 MB / 1.182 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00445/1.519, allocations: 1.535 MB / 1.184 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.519, allocations: 4.312 kB / 1.184 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.52, allocations: 479.8 kB / 1.184 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.522, allocations: 214.8 kB / 1.184 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.534, allocations: 10.7 MB / 1.195 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.535, allocations: 1.12 MB / 1.196 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0013/1.537, allocations: 211.3 kB / 1.196 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.538, allocations: 396.6 kB / 1.196 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/1.538, allocations: 0 / 1.196 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09896/1.637, allocations: 24.09 MB / 1.22 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/1.637, allocations: 214.8 kB / 1.22 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/4.876, allocations: 0 / 1.22 GB, free: 6.25 MB / 0.7448 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)