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.93/1.93, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001163/0.001163, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.584/1.584, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008021/0.0008021, allocations: 85.92 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.717e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6126/0.6127, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.8144, allocations: 148 MB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.8147, allocations: 83.94 kB / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.9215, allocations: 28.19 MB / 1.145 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9215, allocations: 4 kB / 1.145 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001468/0.9217, allocations: 27.94 kB / 1.145 GB, free: 5.762 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.003237/0.9249, allocations: 1.193 MB / 1.147 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.925, allocations: 12.03 kB / 1.147 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.9257, allocations: 130.4 kB / 1.147 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.9298, allocations: 1.534 MB / 1.148 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.9299, allocations: 16 kB / 1.148 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.93, allocations: 36 kB / 1.148 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008953/0.9309, allocations: 0.5803 MB / 1.149 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.9318, allocations: 0.6079 MB / 1.149 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.9318, allocations: 0 / 1.149 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.9319, allocations: 0 / 1.149 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.9319, allocations: 12 kB / 1.149 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.936, allocations: 2.67 MB / 1.152 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9374, allocations: 0.8862 MB / 1.153 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.9379, allocations: 379.9 kB / 1.153 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.938, allocations: 20.36 kB / 1.153 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.938, allocations: 43.67 kB / 1.153 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 1.724e-06/0.938, allocations: 0 / 1.153 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.001427/0.9395, allocations: 0.8453 MB / 1.154 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.9395, allocations: 55.41 kB / 1.154 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.9407, allocations: 0.9754 MB / 1.155 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.9408, allocations: 25.7 kB / 1.155 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.9411, allocations: 464.7 kB / 1.156 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.9413, allocations: 165.5 kB / 1.156 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.9413, allocations: 3.281 kB / 1.156 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9415, allocations: 357.9 kB / 1.156 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.9421, allocations: 0.5102 MB / 1.157 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.943, allocations: 0.8329 MB / 1.158 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.9443, allocations: 0.7224 MB / 1.158 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.9443, allocations: 4 kB / 1.158 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00251/0.9469, allocations: 1.572 MB / 1.16 GB, free: 6.672 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.9469, allocations: 13.09 kB / 1.16 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.9469, allocations: 15.98 kB / 1.16 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.9471, allocations: 48.78 kB / 1.16 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.9487, allocations: 355.9 kB / 1.16 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.953, allocations: 6.898 MB / 1.167 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.9545, allocations: 134.5 kB / 1.167 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9546, allocations: 63.98 kB / 1.167 GB, free: 14.86 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.0001837/0.9548, allocations: 140.8 kB / 1.167 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001269/0.956, allocations: 0.836 MB / 1.168 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.9562, allocations: 114.5 kB / 1.168 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.9579, allocations: 0.9622 MB / 1.169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.9579, allocations: 4 kB / 1.169 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.9579, allocations: 8.797 kB / 1.169 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.9579, allocations: 0 / 1.169 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.9591, allocations: 0.8981 MB / 1.17 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9591, allocations: 3.953 kB / 1.17 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.9597, allocations: 123.8 kB / 1.17 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.9598, allocations: 36.7 kB / 1.17 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.9599, allocations: 21.98 kB / 1.17 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009831/0.9609, allocations: 1.299 MB / 1.171 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9609, allocations: 0 / 1.171 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.9627, allocations: 1.471 MB / 1.173 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.9632, allocations: 369.4 kB / 1.173 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.9634, allocations: 8 kB / 1.173 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.9642, allocations: 49.55 kB / 1.173 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.9644, allocations: 35.95 kB / 1.173 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.9644, allocations: 35.98 kB / 1.173 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009281/0.9654, allocations: 0.7024 MB / 1.174 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9654, allocations: 2.062 kB / 1.174 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001222/0.9666, allocations: 355.6 kB / 1.174 GB, free: 7.176 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.002209/0.9688, allocations: 2.044 MB / 1.176 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.971, allocations: 1.451 MB / 1.178 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.971, allocations: 0 / 1.178 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.9715, allocations: 454 kB / 1.178 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.9726, allocations: 206.3 kB / 1.178 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.9765, allocations: 2.352 MB / 1.181 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.9772, allocations: 1.121 MB / 1.182 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000584/0.9778, allocations: 213.7 kB / 1.182 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.9784, allocations: 403.3 kB / 1.182 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of SimCode: time 1.432e-06/0.9784, allocations: 0 / 1.182 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/1.027, allocations: 21.79 MB / 1.204 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/1.027, allocations: 148.2 kB / 1.204 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.757, allocations: 0 / 1.204 GB, free: 9.203 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)