Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005677/0.005677, allocations: 96.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 203.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 68.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2576, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004973/0.2626, allocations: 4.361 MB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004002/0.2666, allocations: 2.949 MB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.2668, allocations: 23.88 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.2676, allocations: 373.6 kB / 1.228 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.2687, allocations: 0.6299 MB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2699, allocations: 0.6392 MB / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.2716, allocations: 1.878 MB / 1.231 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.2718, allocations: 173.9 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.2725, allocations: 0.5801 MB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007897/0.2733, allocations: 0.6576 MB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2734, allocations: 79.94 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.274, allocations: 419.4 kB / 1.233 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.2745, allocations: 470.6 kB / 1.233 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.2751, allocations: 0.5984 MB / 1.234 GB, free: 484 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2765, allocations: 1.471 MB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2765, allocations: 3.984 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2765, allocations: 4 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.2765, allocations: 0 / 1.235 GB, free: 14.99 MB / 0.9981 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.002638/0.2791, allocations: 1.658 MB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2792, allocations: 8.031 kB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.243e-05/0.2793, allocations: 86.72 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.2795, allocations: 144 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.2807, allocations: 0.8514 MB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.2807, allocations: 49.31 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.2808, allocations: 60.38 kB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008316/0.2817, allocations: 0.6176 MB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2817, allocations: 0 / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.2817, allocations: 20 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.2817, allocations: 8 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.2825, allocations: 0.5582 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.2865, allocations: 3.279 MB / 1.242 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.2879, allocations: 0.8451 MB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.2883, allocations: 369.3 kB / 1.243 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.26e-05/0.2884, allocations: 24.34 kB / 1.243 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2884, allocations: 42.94 kB / 1.243 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 1.483e-06/0.2884, allocations: 0 / 1.243 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001636/0.2901, allocations: 1.183 MB / 1.245 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2901, allocations: 59.39 kB / 1.245 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.2916, allocations: 1.228 MB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.2917, allocations: 45.7 kB / 1.246 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.292, allocations: 473.3 kB / 1.246 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.2922, allocations: 174.4 kB / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.2925, allocations: 214.6 kB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2926, allocations: 349.9 kB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/0.2934, allocations: 0.6465 MB / 1.248 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.2944, allocations: 0.9747 MB / 1.249 GB, free: 464 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4384/0.7328, allocations: 1.574 MB / 1.25 GB, free: 28.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.7329, allocations: 3.219 kB / 1.25 GB, free: 28.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002183/0.7351, allocations: 1.789 MB / 1.252 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7351, allocations: 10.19 kB / 1.252 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.7351, allocations: 12.56 kB / 1.252 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.7353, allocations: 48.48 kB / 1.252 GB, free: 28.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7364, allocations: 270.9 kB / 1.252 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.7387, allocations: 6.836 MB / 1.259 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.7395, allocations: 128.8 kB / 1.259 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.7396, allocations: 45.61 kB / 1.259 GB, free: 22.7 MB / 0.9981 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 (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.7399, allocations: 310.5 kB / 1.259 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.74, allocations: 113 kB / 1.259 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.7409, allocations: 0.8443 MB / 1.26 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7409, allocations: 2.875 kB / 1.26 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7409, allocations: 6.266 kB / 1.26 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7409, allocations: 2.875 kB / 1.26 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.7416, allocations: 0.9109 MB / 1.261 GB, free: 22.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7416, allocations: 0.7188 kB / 1.261 GB, free: 22.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.742, allocations: 112.4 kB / 1.261 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.841e-05/0.7421, allocations: 33.02 kB / 1.261 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.7422, allocations: 18.62 kB / 1.261 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005532/0.7427, allocations: 1.436 MB / 1.263 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7428, allocations: 0 / 1.263 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.7439, allocations: 1.377 MB / 1.264 GB, free: 20.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.7442, allocations: 267.6 kB / 1.264 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.7443, allocations: 18.28 kB / 1.264 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.7448, allocations: 32.81 kB / 1.264 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.7449, allocations: 30.98 kB / 1.264 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.7449, allocations: 14.48 kB / 1.264 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008471/0.7457, allocations: 0.8173 MB / 1.265 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7458, allocations: 0 / 1.265 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007255/0.7465, allocations: 369.7 kB / 1.266 GB, free: 20.37 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002029/0.7485, allocations: 2.094 MB / 1.268 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.7506, allocations: 1.508 MB / 1.269 GB, free: 19.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7506, allocations: 0 / 1.269 GB, free: 19.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.7511, allocations: 479.1 kB / 1.27 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/0.752, allocations: 234.8 kB / 1.27 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.7639, allocations: 11.57 MB / 1.281 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.7644, allocations: 1.102 MB / 1.282 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005124/0.765, allocations: 207.7 kB / 1.282 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.7654, allocations: 395.7 kB / 1.283 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.233e-06/0.7654, allocations: 0 / 1.283 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.931/2.696, allocations: 24.17 MB / 1.306 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.73/24.43, allocations: 9.938 kB / 1.306 GB, free: 8.723 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)