Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001024/0.001024, allocations: 181 kB / 377.1 MB, free: 1.531 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.56/1.56, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0008966/0.0008967, allocations: 87.88 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8032/1.076, allocations: 148.7 MB / 1.134 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.076, allocations: 83.47 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1059/1.182, allocations: 28.69 MB / 1.162 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/1.182, allocations: 4 kB / 1.162 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000173/1.182, allocations: 24 kB / 1.162 GB, free: 5.004 MB / 0.7292 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.006243/1.189, allocations: 1.566 MB / 1.163 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.189, allocations: 12.02 kB / 1.163 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/1.189, allocations: 87.73 kB / 1.163 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/1.19, allocations: 133.8 kB / 1.164 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/1.195, allocations: 1.542 MB / 1.165 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/1.195, allocations: 48.94 kB / 1.165 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.195, allocations: 71.91 kB / 1.165 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.196, allocations: 0.6528 MB / 1.166 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.196, allocations: 3.984 kB / 1.166 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/1.196, allocations: 16 kB / 1.166 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/1.196, allocations: 13.03 kB / 1.166 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/1.197, allocations: 0.6361 MB / 1.166 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/1.203, allocations: 2.754 MB / 1.169 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.205, allocations: 0.923 MB / 1.17 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.205, allocations: 24.36 kB / 1.17 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.205, allocations: 35.69 kB / 1.17 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/1.205, allocations: 0 / 1.17 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.002364/1.207, allocations: 1.307 MB / 1.171 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.207, allocations: 59.41 kB / 1.171 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.209, allocations: 1.049 MB / 1.172 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/1.209, allocations: 37.7 kB / 1.172 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/1.209, allocations: 468.7 kB / 1.173 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/1.21, allocations: 177.5 kB / 1.173 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/1.21, allocations: 16.94 kB / 1.173 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.21, allocations: 349.9 kB / 1.173 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000841/1.211, allocations: 0.5449 MB / 1.174 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/1.212, allocations: 0.877 MB / 1.175 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/1.213, allocations: 0.6506 MB / 1.175 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.213, allocations: 4 kB / 1.175 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002703/1.216, allocations: 1.595 MB / 1.177 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.216, allocations: 12.73 kB / 1.177 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.216, allocations: 12 kB / 1.177 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/1.216, allocations: 52.83 kB / 1.177 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/1.218, allocations: 364.7 kB / 1.177 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004968/1.223, allocations: 6.83 MB / 1.184 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.224, allocations: 158.6 kB / 1.184 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.225, allocations: 65.83 kB / 1.184 GB, free: 13.09 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 () * 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.000689/1.225, allocations: 305.4 kB / 1.185 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/1.225, allocations: 110.5 kB / 1.185 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/1.227, allocations: 1.028 MB / 1.186 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.227, allocations: 8 kB / 1.186 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.227, allocations: 0 / 1.186 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.227, allocations: 3.984 kB / 1.186 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.229, allocations: 0.954 MB / 1.187 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/1.229, allocations: 1.625 kB / 1.187 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/1.229, allocations: 128.9 kB / 1.187 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/1.23, allocations: 28.83 kB / 1.187 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/1.23, allocations: 27.94 kB / 1.187 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/1.231, allocations: 1.34 MB / 1.188 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.231, allocations: 0 / 1.188 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/1.233, allocations: 1.518 MB / 1.19 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/1.234, allocations: 372.1 kB / 1.19 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.234, allocations: 16 kB / 1.19 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/1.235, allocations: 47.83 kB / 1.19 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.235, allocations: 35.95 kB / 1.19 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/1.235, allocations: 39.98 kB / 1.19 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001381/1.236, allocations: 0.7771 MB / 1.191 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.31e-07/1.236, allocations: 0 / 1.191 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001604/1.238, allocations: 379.5 kB / 1.191 GB, free: 5.738 MB / 0.7605 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.002777/1.241, allocations: 2.097 MB / 1.193 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002626/1.244, allocations: 1.532 MB / 1.195 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.244, allocations: 1.875 kB / 1.195 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006154/1.244, allocations: 480 kB / 1.195 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.245, allocations: 208.6 kB / 1.195 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/1.254, allocations: 10.7 MB / 1.206 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000875/1.255, allocations: 1.129 MB / 1.207 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007825/1.256, allocations: 209.2 kB / 1.207 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/1.257, allocations: 399.3 kB / 1.208 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of SimCode: time 8.91e-07/1.257, allocations: 0 / 1.208 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/1.31, allocations: 24.08 MB / 1.231 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/1.31, allocations: 214.9 kB / 1.231 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/4.371, allocations: 0 / 1.231 GB, free: 12.7 MB / 0.8073 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)