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.695/1.695, allocations: 285.4 MB / 298 MB, free: 5.977 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.001247/0.001248, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.649/1.649, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008184/0.0008185, allocations: 94.31 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.79e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7716, allocations: 115.3 MB / 0.971 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.9909, allocations: 147.7 MB / 1.115 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.9912, allocations: 79.95 kB / 1.115 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1109/1.102, allocations: 28.69 MB / 1.143 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.963e-06/1.102, allocations: 2.156 kB / 1.143 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001531/1.102, allocations: 24 kB / 1.143 GB, free: 7.32 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.003388/1.106, allocations: 1.205 MB / 1.144 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.106, allocations: 8.031 kB / 1.144 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002313/1.106, allocations: 82.52 kB / 1.145 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/1.107, allocations: 130.4 kB / 1.145 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/1.111, allocations: 1.534 MB / 1.146 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/1.111, allocations: 45 kB / 1.146 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/1.111, allocations: 64 kB / 1.146 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.112, allocations: 0.6489 MB / 1.147 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.112, allocations: 7.891 kB / 1.147 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/1.113, allocations: 16 kB / 1.147 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/1.113, allocations: 8 kB / 1.147 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/1.114, allocations: 0.6089 MB / 1.148 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004956/1.119, allocations: 2.758 MB / 1.15 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.121, allocations: 0.9106 MB / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/1.122, allocations: 389.4 kB / 1.152 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/1.122, allocations: 24.36 kB / 1.152 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/1.122, allocations: 42.88 kB / 1.152 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 2.906e-06/1.122, allocations: 0 / 1.152 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.002506/1.125, allocations: 0.8684 MB / 1.152 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.125, allocations: 59.41 kB / 1.152 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.127, allocations: 1.031 MB / 1.153 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.127, allocations: 42.64 kB / 1.154 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/1.128, allocations: 464.6 kB / 1.154 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/1.128, allocations: 173.5 kB / 1.154 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/1.128, allocations: 20 kB / 1.154 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.129, allocations: 345.9 kB / 1.154 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/1.13, allocations: 0.541 MB / 1.155 GB, free: 11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.132, allocations: 0.8577 MB / 1.156 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.133, allocations: 0.6342 MB / 1.156 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.133, allocations: 4 kB / 1.156 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003908/1.137, allocations: 1.561 MB / 1.158 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/1.137, allocations: 18.2 kB / 1.158 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/1.137, allocations: 15.98 kB / 1.158 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/1.137, allocations: 44.84 kB / 1.158 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/1.14, allocations: 367.9 kB / 1.158 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/1.147, allocations: 6.829 MB / 1.165 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/1.149, allocations: 146.6 kB / 1.165 GB, free: 48 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/1.15, allocations: 64.03 kB / 1.165 GB, free: 15.98 MB / 0.7761 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.0002836/1.15, allocations: 156.9 kB / 1.165 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/1.15, allocations: 106.6 kB / 1.166 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/1.153, allocations: 1.008 MB / 1.167 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.153, allocations: 8 kB / 1.167 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.153, allocations: 3.984 kB / 1.167 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.153, allocations: 3.984 kB / 1.167 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/1.155, allocations: 0.9619 MB / 1.167 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.155, allocations: 3.984 kB / 1.167 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/1.156, allocations: 119.9 kB / 1.168 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/1.156, allocations: 32.78 kB / 1.168 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/1.156, allocations: 27.92 kB / 1.168 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/1.157, allocations: 1.332 MB / 1.169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.157, allocations: 0 / 1.169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/1.161, allocations: 1.491 MB / 1.17 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/1.162, allocations: 373.4 kB / 1.171 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.162, allocations: 8 kB / 1.171 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.163, allocations: 59.77 kB / 1.171 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.163, allocations: 33.08 kB / 1.171 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/1.163, allocations: 39.98 kB / 1.171 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001603/1.165, allocations: 0.7584 MB / 1.172 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.1e-07/1.165, allocations: 0 / 1.172 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001781/1.167, allocations: 375.6 kB / 1.172 GB, free: 8.848 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.003411/1.17, allocations: 2.082 MB / 1.174 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00355/1.174, allocations: 1.499 MB / 1.175 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.174, allocations: 8.25 kB / 1.176 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007954/1.174, allocations: 462.8 kB / 1.176 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.176, allocations: 214.3 kB / 1.176 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005734/1.182, allocations: 2.385 MB / 1.178 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009818/1.183, allocations: 1.125 MB / 1.18 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008814/1.184, allocations: 201.7 kB / 1.18 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/1.184, allocations: 395.3 kB / 1.18 GB, free: 392 kB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/1.184, allocations: 7.938 kB / 1.18 GB, free: 384 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/1.248, allocations: 24.74 MB / 1.204 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/1.248, allocations: 196.7 kB / 1.205 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.105, allocations: 0 / 1.205 GB, free: 7.879 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)