Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.898 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.001035/0.001035, allocations: 176.9 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009221/0.0009222, allocations: 88.48 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.566e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 106.4 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7161/0.9112, allocations: 141.6 MB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.9116, allocations: 85.7 kB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/1.013, allocations: 28.18 MB / 1.051 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.184e-06/1.013, allocations: 3.938 kB / 1.051 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.069e-05/1.013, allocations: 20 kB / 1.051 GB, free: 4.523 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.002419/1.015, allocations: 1.198 MB / 1.052 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.015, allocations: 8.031 kB / 1.052 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/1.016, allocations: 134.3 kB / 1.053 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/1.019, allocations: 1.545 MB / 1.054 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/1.019, allocations: 12 kB / 1.054 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/1.019, allocations: 40 kB / 1.054 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008701/1.02, allocations: 0.5845 MB / 1.055 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008504/1.021, allocations: 0.5936 MB / 1.055 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.021, allocations: 8 kB / 1.055 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/1.021, allocations: 0 / 1.055 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/1.021, allocations: 8 kB / 1.055 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/1.025, allocations: 2.671 MB / 1.058 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.026, allocations: 0.8897 MB / 1.059 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/1.027, allocations: 377.9 kB / 1.059 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/1.027, allocations: 27.72 kB / 1.059 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.027, allocations: 38.81 kB / 1.059 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/1.027, allocations: 0 / 1.059 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001408/1.028, allocations: 0.8555 MB / 1.06 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.028, allocations: 55.41 kB / 1.06 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.03, allocations: 0.9698 MB / 1.061 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/1.03, allocations: 25.7 kB / 1.061 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/1.03, allocations: 461.2 kB / 1.061 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.03, allocations: 169.1 kB / 1.062 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/1.03, allocations: 3.938 kB / 1.062 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.031, allocations: 352.3 kB / 1.062 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/1.031, allocations: 0.5152 MB / 1.062 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/1.032, allocations: 0.8344 MB / 1.063 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.033, allocations: 0.718 MB / 1.064 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.033, allocations: 4 kB / 1.064 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002622/1.036, allocations: 1.569 MB / 1.066 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.036, allocations: 12.19 kB / 1.066 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/1.036, allocations: 19.94 kB / 1.066 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/1.036, allocations: 48.77 kB / 1.066 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.038, allocations: 359.9 kB / 1.066 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/1.043, allocations: 6.889 MB / 1.073 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.045, allocations: 134.7 kB / 1.073 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.045, allocations: 66.8 kB / 1.073 GB, free: 1.168 MB / 0.6823 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.0002123/1.045, allocations: 133.8 kB / 1.073 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00132/1.046, allocations: 0.8347 MB / 1.074 GB, free: 360 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/1.047, allocations: 114.5 kB / 1.074 GB, free: 244 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/1.048, allocations: 0.9741 MB / 1.075 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.048, allocations: 4 kB / 1.075 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.048, allocations: 0 / 1.075 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/1.048, allocations: 3.984 kB / 1.075 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/1.049, allocations: 0.8931 MB / 1.076 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.049, allocations: 7.938 kB / 1.076 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/1.05, allocations: 122.7 kB / 1.076 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/1.05, allocations: 35.95 kB / 1.076 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/1.05, allocations: 11.98 kB / 1.076 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009803/1.051, allocations: 1.305 MB / 1.077 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.051, allocations: 0 / 1.077 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/1.053, allocations: 1.463 MB / 1.079 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/1.054, allocations: 368.1 kB / 1.079 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/1.054, allocations: 12.08 kB / 1.079 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/1.055, allocations: 51.7 kB / 1.079 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/1.055, allocations: 35.27 kB / 1.079 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/1.055, allocations: 39.05 kB / 1.079 GB, free: 11.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008898/1.056, allocations: 0.7014 MB / 1.08 GB, free: 11.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.056, allocations: 3.938 kB / 1.08 GB, free: 11.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001176/1.057, allocations: 354.5 kB / 1.08 GB, free: 10.73 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.002264/1.059, allocations: 2.05 MB / 1.082 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002296/1.061, allocations: 1.455 MB / 1.084 GB, free: 7.836 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.061, allocations: 0 / 1.084 GB, free: 7.836 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005015/1.062, allocations: 456.2 kB / 1.084 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.063, allocations: 203.9 kB / 1.084 GB, free: 7.312 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/1.067, allocations: 2.35 MB / 1.086 GB, free: 5.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/1.068, allocations: 1.126 MB / 1.088 GB, free: 3.941 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006309/1.069, allocations: 211.3 kB / 1.088 GB, free: 3.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.069, allocations: 404.6 kB / 1.088 GB, free: 3.629 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/1.069, allocations: 0 / 1.088 GB, free: 3.629 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/1.12, allocations: 21.79 MB / 1.109 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/1.12, allocations: 157 kB / 1.11 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.637, allocations: 0 / 1.11 GB, free: 13.85 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)