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.56/1.56, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001131/0.001131, allocations: 182.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008546/0.0008546, allocations: 88.64 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.968e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/0.9885, allocations: 141.4 MB / 1.03 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.9888, allocations: 81.52 kB / 1.03 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1056/1.094, allocations: 28.68 MB / 1.058 GB, free: 484 kB / 0.6667 GB Notification: Performance of FrontEnd: time 4.749e-06/1.094, allocations: 7.984 kB / 1.058 GB, free: 476 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.738e-05/1.095, allocations: 20 kB / 1.058 GB, free: 456 kB / 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.002631/1.097, allocations: 1.19 MB / 1.059 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.097, allocations: 12.03 kB / 1.059 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/1.097, allocations: 85.14 kB / 1.059 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/1.098, allocations: 138.3 kB / 1.059 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/1.102, allocations: 1.532 MB / 1.061 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/1.102, allocations: 43.25 kB / 1.061 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/1.102, allocations: 61.5 kB / 1.061 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/1.103, allocations: 0.6512 MB / 1.062 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.103, allocations: 4 kB / 1.062 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/1.103, allocations: 17 kB / 1.062 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/1.103, allocations: 8 kB / 1.062 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/1.104, allocations: 0.6107 MB / 1.062 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/1.108, allocations: 2.758 MB / 1.065 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.109, allocations: 0.904 MB / 1.066 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/1.11, allocations: 394 kB / 1.066 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/1.11, allocations: 24.34 kB / 1.066 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.11, allocations: 34.31 kB / 1.066 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 2.935e-06/1.11, allocations: 0 / 1.066 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001487/1.111, allocations: 0.8767 MB / 1.067 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.112, allocations: 59.41 kB / 1.067 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.113, allocations: 1.025 MB / 1.068 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/1.113, allocations: 47.64 kB / 1.068 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/1.113, allocations: 465.2 kB / 1.069 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/1.114, allocations: 175.5 kB / 1.069 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/1.114, allocations: 17.38 kB / 1.069 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.114, allocations: 348.2 kB / 1.069 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/1.114, allocations: 0.535 MB / 1.07 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/1.115, allocations: 0.8588 MB / 1.071 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/1.116, allocations: 0.6357 MB / 1.071 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.116, allocations: 0 / 1.071 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002567/1.119, allocations: 1.573 MB / 1.073 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.119, allocations: 11.98 kB / 1.073 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.119, allocations: 15.94 kB / 1.073 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/1.119, allocations: 44.53 kB / 1.073 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.121, allocations: 368.1 kB / 1.073 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/1.126, allocations: 6.824 MB / 1.08 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.128, allocations: 148.7 kB / 1.08 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.128, allocations: 63.17 kB / 1.08 GB, free: 12.84 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 () * 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.0002403/1.129, allocations: 163.2 kB / 1.08 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/1.129, allocations: 110.6 kB / 1.08 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/1.131, allocations: 1.005 MB / 1.081 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.131, allocations: 4 kB / 1.081 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.131, allocations: 0 / 1.081 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.131, allocations: 7.984 kB / 1.081 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/1.132, allocations: 0.9554 MB / 1.082 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.132, allocations: 0 / 1.082 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/1.133, allocations: 127.2 kB / 1.082 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/1.133, allocations: 34.77 kB / 1.082 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/1.133, allocations: 22.11 kB / 1.082 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/1.134, allocations: 1.328 MB / 1.084 GB, free: 9.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.134, allocations: 0 / 1.084 GB, free: 9.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/1.136, allocations: 1.496 MB / 1.085 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/1.136, allocations: 376.2 kB / 1.085 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.137, allocations: 14.19 kB / 1.085 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/1.137, allocations: 51.11 kB / 1.086 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/1.137, allocations: 35.52 kB / 1.086 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/1.138, allocations: 35.73 kB / 1.086 GB, free: 7.789 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001039/1.139, allocations: 0.7563 MB / 1.086 GB, free: 7.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.139, allocations: 4 kB / 1.086 GB, free: 7.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001242/1.14, allocations: 379.5 kB / 1.087 GB, free: 6.824 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.002564/1.142, allocations: 2.087 MB / 1.089 GB, free: 4.707 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002552/1.145, allocations: 1.502 MB / 1.09 GB, free: 3.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.145, allocations: 0 / 1.09 GB, free: 3.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005603/1.146, allocations: 466.8 kB / 1.091 GB, free: 2.711 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.147, allocations: 212.5 kB / 1.091 GB, free: 2.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/1.151, allocations: 2.401 MB / 1.093 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007439/1.152, allocations: 1.118 MB / 1.094 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006204/1.152, allocations: 207.3 kB / 1.095 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.153, allocations: 399.3 kB / 1.095 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.153, allocations: 0 / 1.095 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05088/1.204, allocations: 24.74 MB / 1.119 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.204, allocations: 199.9 kB / 1.119 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.209, allocations: 7.938 kB / 1.119 GB, free: 5.633 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)