Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_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.001749/0.001749, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002419/0.002418, allocations: 189.4 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.136/2.136, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.838/3.838, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 62.55 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5173, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.01079/0.5282, allocations: 4.382 MB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008464/0.5367, allocations: 2.951 MB / 1.06 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5381, allocations: 19.88 kB / 1.06 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.5403, allocations: 322.2 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.5435, allocations: 0.5912 MB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.5464, allocations: 0.5771 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0043/0.5507, allocations: 1.881 MB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.5514, allocations: 177.9 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.5532, allocations: 0.5916 MB / 1.064 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.5551, allocations: 0.7162 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.5556, allocations: 76 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.5572, allocations: 407.4 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.5582, allocations: 458.7 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.56, allocations: 0.5945 MB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.5636, allocations: 1.464 MB / 1.067 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.5636, allocations: 0 / 1.067 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.129e-06/0.5637, allocations: 0 / 1.067 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.75e-05/0.5638, allocations: 4 kB / 1.067 GB, free: 9.395 MB / 0.8262 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.007313/0.5711, allocations: 1.621 MB / 1.069 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.5712, allocations: 8.625 kB / 1.069 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.5715, allocations: 86.7 kB / 1.069 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.5721, allocations: 131.3 kB / 1.069 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.5746, allocations: 0.8076 MB / 1.07 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.5747, allocations: 45.38 kB / 1.07 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.575, allocations: 64.28 kB / 1.07 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5765, allocations: 0.6215 MB / 1.071 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5766, allocations: 0 / 1.071 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.5768, allocations: 20 kB / 1.071 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5768, allocations: 8 kB / 1.071 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.5786, allocations: 0.5582 MB / 1.071 GB, free: 5.293 MB / 0.8262 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.007988/0.5866, allocations: 3.286 MB / 1.074 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.5889, allocations: 0.8415 MB / 1.075 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.5897, allocations: 369.3 kB / 1.075 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.5898, allocations: 24.36 kB / 1.075 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.5899, allocations: 42.86 kB / 1.076 GB, free: 488 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 4.529e-06/0.5899, allocations: 0 / 1.076 GB, free: 488 kB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.003051/0.593, allocations: 1.179 MB / 1.077 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.593, allocations: 59.41 kB / 1.077 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.5959, allocations: 1.227 MB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.596, allocations: 41.7 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000666/0.5967, allocations: 464.6 kB / 1.078 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.597, allocations: 169.5 kB / 1.079 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004726/0.5975, allocations: 214.5 kB / 1.079 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.5978, allocations: 349.9 kB / 1.079 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.5991, allocations: 0.6504 MB / 1.08 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.6009, allocations: 0.9669 MB / 1.081 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.6041, allocations: 1.582 MB / 1.082 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.6041, allocations: 0 / 1.082 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004278/0.6084, allocations: 1.787 MB / 1.084 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.6085, allocations: 8 kB / 1.084 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.6085, allocations: 12 kB / 1.084 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.6089, allocations: 49.31 kB / 1.084 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.6109, allocations: 267.6 kB / 1.084 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/0.6181, allocations: 6.84 MB / 1.091 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.6209, allocations: 130.7 kB / 1.091 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.6212, allocations: 43.98 kB / 1.091 GB, free: 15.77 MB / 0.8575 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.0009803/0.6222, allocations: 305.4 kB / 1.091 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005465/0.6227, allocations: 114.4 kB / 1.092 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.6252, allocations: 0.8414 MB / 1.092 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6253, allocations: 4 kB / 1.092 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.6253, allocations: 4 kB / 1.092 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6253, allocations: 3.938 kB / 1.092 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.6277, allocations: 0.9188 MB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.6278, allocations: 0 / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.6287, allocations: 115.8 kB / 1.093 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.629, allocations: 32.84 kB / 1.093 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.6291, allocations: 19.98 kB / 1.093 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.6309, allocations: 1.433 MB / 1.095 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.631, allocations: 0 / 1.095 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.6342, allocations: 1.37 MB / 1.096 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/0.6353, allocations: 267.4 kB / 1.096 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.6357, allocations: 15.98 kB / 1.096 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.6369, allocations: 27.97 kB / 1.096 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6371, allocations: 31.89 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.6372, allocations: 20 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002318/0.6395, allocations: 0.8115 MB / 1.097 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.21e-07/0.6395, allocations: 3.938 kB / 1.097 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002168/0.6417, allocations: 375.7 kB / 1.098 GB, free: 8.828 MB / 0.8575 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.004322/0.646, allocations: 2.078 MB / 1.1 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004669/0.6507, allocations: 1.617 MB / 1.101 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6508, allocations: 4.062 kB / 1.101 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.6518, allocations: 478.1 kB / 1.102 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.6545, allocations: 230.7 kB / 1.102 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.6865, allocations: 12.28 MB / 1.114 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.688, allocations: 1.098 MB / 1.115 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001143/0.6892, allocations: 211.1 kB / 1.115 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009259/0.6901, allocations: 395.3 kB / 1.116 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of SimCode: time 9.72e-07/0.6901, allocations: 0 / 1.116 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/2.108, allocations: 23.73 MB / 1.139 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003661/2.109, allocations: 247 kB / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.267/7.376, allocations: 2.625 kB / 1.139 GB, free: 14.18 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)