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.615/1.615, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001073/0.001073, allocations: 188.9 kB / 361.4 MB, free: 6.848 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.519/1.519, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008114/0.0008114, allocations: 98.02 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.215e-05, allocations: 0 / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.7037, allocations: 115.3 MB / 0.9644 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.908, allocations: 147 MB / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.9083, allocations: 81.91 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1057/1.014, allocations: 28.2 MB / 1.136 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.976e-06/1.014, allocations: 0 / 1.136 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002479/1.014, allocations: 31.98 kB / 1.136 GB, free: 12.39 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.004935/1.019, allocations: 1.19 MB / 1.137 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/1.019, allocations: 12.03 kB / 1.137 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.021, allocations: 130.4 kB / 1.137 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/1.026, allocations: 1.538 MB / 1.138 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/1.026, allocations: 12 kB / 1.138 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.026, allocations: 36 kB / 1.138 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001197/1.027, allocations: 0.5862 MB / 1.139 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/1.028, allocations: 0.604 MB / 1.14 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.028, allocations: 3.984 kB / 1.14 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/1.028, allocations: 0.9375 kB / 1.14 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/1.028, allocations: 12 kB / 1.14 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/1.034, allocations: 2.666 MB / 1.142 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/1.035, allocations: 0.8944 MB / 1.143 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/1.036, allocations: 377.4 kB / 1.143 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.942e-05/1.036, allocations: 24.36 kB / 1.144 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.036, allocations: 34.94 kB / 1.144 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/1.036, allocations: 0 / 1.144 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.00185/1.038, allocations: 0.8569 MB / 1.144 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.038, allocations: 55.41 kB / 1.144 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/1.04, allocations: 0.9767 MB / 1.145 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.041, allocations: 25.7 kB / 1.145 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/1.041, allocations: 460.8 kB / 1.146 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/1.042, allocations: 165.5 kB / 1.146 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/1.042, allocations: 0 / 1.146 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002322/1.042, allocations: 353.9 kB / 1.146 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/1.043, allocations: 0.5141 MB / 1.147 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/1.044, allocations: 0.8368 MB / 1.148 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.045, allocations: 0.7146 MB / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.046, allocations: 0 / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003207/1.049, allocations: 1.58 MB / 1.15 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/1.049, allocations: 9.25 kB / 1.15 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/1.049, allocations: 12 kB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/1.049, allocations: 44.8 kB / 1.15 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.051, allocations: 366.8 kB / 1.15 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005208/1.056, allocations: 6.898 MB / 1.157 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.058, allocations: 134.5 kB / 1.157 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.058, allocations: 63.98 kB / 1.157 GB, free: 5.465 MB / 0.7605 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.0002951/1.058, allocations: 136.8 kB / 1.157 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001724/1.06, allocations: 0.8363 MB / 1.158 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/1.06, allocations: 114.5 kB / 1.158 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.062, allocations: 0.9694 MB / 1.159 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.062, allocations: 4 kB / 1.159 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.062, allocations: 0 / 1.159 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.062, allocations: 8 kB / 1.159 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.064, allocations: 0.9018 MB / 1.16 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.064, allocations: 3.953 kB / 1.16 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/1.064, allocations: 123.8 kB / 1.16 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/1.065, allocations: 28.78 kB / 1.16 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/1.065, allocations: 15.98 kB / 1.16 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/1.066, allocations: 1.309 MB / 1.162 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.066, allocations: 0 / 1.162 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/1.068, allocations: 1.463 MB / 1.163 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/1.069, allocations: 373.4 kB / 1.163 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/1.069, allocations: 4 kB / 1.163 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/1.07, allocations: 43.86 kB / 1.163 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.07, allocations: 31.95 kB / 1.163 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/1.07, allocations: 39.98 kB / 1.163 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001336/1.072, allocations: 0.7063 MB / 1.164 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.01e-07/1.072, allocations: 0 / 1.164 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001756/1.073, allocations: 351.6 kB / 1.165 GB, free: 13.79 MB / 0.7761 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.003011/1.076, allocations: 2.044 MB / 1.167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.079, allocations: 1.455 MB / 1.168 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.079, allocations: 0 / 1.168 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/1.08, allocations: 457.4 kB / 1.168 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/1.081, allocations: 216.8 kB / 1.169 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/1.086, allocations: 2.347 MB / 1.171 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/1.087, allocations: 1.119 MB / 1.172 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007602/1.088, allocations: 210.9 kB / 1.172 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/1.089, allocations: 399.3 kB / 1.173 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of SimCode: time 1.132e-06/1.089, allocations: 0 / 1.173 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/1.146, allocations: 21.81 MB / 1.194 GB, free: 68 kB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.146, allocations: 154.5 kB / 1.194 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.755, allocations: 4 kB / 1.194 GB, free: 15.87 MB / 0.8073 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)