Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_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.0008221/0.000822, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004689/0.004689, allocations: 170 kB / 16.26 MB, free: 6.613 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.155/1.155, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.26/2.26, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 0.8729 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/0.5228, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003968/0.5268, allocations: 3.988 MB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.5307, allocations: 2.935 MB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.5309, allocations: 15.88 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.5317, allocations: 322.3 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009981/0.5327, allocations: 0.6064 MB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.5337, allocations: 0.5498 MB / 1.031 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5355, allocations: 2.194 MB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.5358, allocations: 161.8 kB / 1.034 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.5363, allocations: 0.5096 MB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007789/0.5371, allocations: 0.6772 MB / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.5372, allocations: 47.94 kB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.5378, allocations: 383.5 kB / 1.035 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.5382, allocations: 418.6 kB / 1.036 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.5386, allocations: 0.5883 MB / 1.036 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.5398, allocations: 1.405 MB / 1.038 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.5398, allocations: 0 / 1.038 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5399, allocations: 0 / 1.038 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.5399, allocations: 3.938 kB / 1.038 GB, free: 0.9336 MB / 0.7794 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.002406/0.5423, allocations: 1.457 MB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5423, allocations: 12.03 kB / 1.039 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.109e-05/0.5424, allocations: 82.7 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.5426, allocations: 135.3 kB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.5437, allocations: 0.8192 MB / 1.04 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.5438, allocations: 41.38 kB / 1.04 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.5439, allocations: 64.38 kB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.5447, allocations: 0.6176 MB / 1.041 GB, free: 13.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5447, allocations: 4 kB / 1.041 GB, free: 13.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.5448, allocations: 16 kB / 1.041 GB, free: 13.55 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.5448, allocations: 8 kB / 1.041 GB, free: 13.55 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.5455, allocations: 0.5621 MB / 1.041 GB, free: 12.98 MB / 0.795 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.004006/0.5496, allocations: 3.306 MB / 1.044 GB, free: 9.434 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.5509, allocations: 0.8516 MB / 1.045 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.5513, allocations: 363.6 kB / 1.046 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.5514, allocations: 28.36 kB / 1.046 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5514, allocations: 38.94 kB / 1.046 GB, free: 8.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 3.256e-06/0.5514, allocations: 0 / 1.046 GB, free: 8.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001615/0.5531, allocations: 1.186 MB / 1.047 GB, free: 6.926 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5531, allocations: 59.34 kB / 1.047 GB, free: 6.855 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.5546, allocations: 1.231 MB / 1.048 GB, free: 5.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.5546, allocations: 41.7 kB / 1.048 GB, free: 5.566 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.555, allocations: 464.7 kB / 1.049 GB, free: 5.105 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.5551, allocations: 173.6 kB / 1.049 GB, free: 4.934 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.5553, allocations: 121.6 kB / 1.049 GB, free: 4.809 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5554, allocations: 353.9 kB / 1.049 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.5562, allocations: 0.6504 MB / 1.05 GB, free: 3.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.5571, allocations: 0.9708 MB / 1.051 GB, free: 2.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.5588, allocations: 1.59 MB / 1.052 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5588, allocations: 4 kB / 1.052 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00218/0.561, allocations: 1.783 MB / 1.054 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.561, allocations: 13.88 kB / 1.054 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.5611, allocations: 12 kB / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.5613, allocations: 48.83 kB / 1.054 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.5624, allocations: 263.6 kB / 1.054 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.566, allocations: 6.741 MB / 1.061 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.5668, allocations: 134.6 kB / 1.061 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.5669, allocations: 40 kB / 1.061 GB, free: 7.598 MB / 0.8106 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.0003393/0.5673, allocations: 306.1 kB / 1.061 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5674, allocations: 110.5 kB / 1.062 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.5686, allocations: 0.8504 MB / 1.062 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5686, allocations: 4 kB / 1.062 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5686, allocations: 0 / 1.062 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.5686, allocations: 7.984 kB / 1.062 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.5696, allocations: 0.9113 MB / 1.063 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5696, allocations: 3.938 kB / 1.063 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.5701, allocations: 115.8 kB / 1.063 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.5702, allocations: 32.83 kB / 1.063 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5703, allocations: 15.98 kB / 1.063 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008749/0.5712, allocations: 1.331 MB / 1.065 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5712, allocations: 0 / 1.065 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5727, allocations: 1.381 MB / 1.066 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.5731, allocations: 267.5 kB / 1.066 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.5732, allocations: 12 kB / 1.066 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.5738, allocations: 39.95 kB / 1.066 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.5739, allocations: 27.97 kB / 1.066 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.5739, allocations: 11.98 kB / 1.066 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001046/0.575, allocations: 0.8232 MB / 1.067 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.575, allocations: 0 / 1.067 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008783/0.5759, allocations: 371.6 kB / 1.068 GB, free: 0.75 MB / 0.8106 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.002249/0.5781, allocations: 2.093 MB / 1.07 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.5804, allocations: 1.503 MB / 1.071 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5804, allocations: 0 / 1.071 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.581, allocations: 486.8 kB / 1.072 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.582, allocations: 224.7 kB / 1.072 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.5971, allocations: 12.48 MB / 1.084 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.5978, allocations: 1.098 MB / 1.085 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004912/0.5983, allocations: 203.1 kB / 1.085 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.5988, allocations: 395.3 kB / 1.086 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.945e-06/0.5988, allocations: 0 / 1.086 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5021/1.101, allocations: 22.73 MB / 1.108 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/1.101, allocations: 242.8 kB / 1.108 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.383, allocations: 0 / 1.108 GB, free: 7.008 MB / 0.8575 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)