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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001109/0.001109, allocations: 194 kB / 16.14 MB, free: 6.652 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.322/2.322, allocations: 461.8 MB / 0.7342 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.06 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2137, allocations: 157.4 MB / 1.052 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004538/0.2183, allocations: 4.387 MB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.2222, allocations: 2.982 MB / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.2227, allocations: 19.88 kB / 1.059 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008153/0.2235, allocations: 322.2 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.2246, allocations: 0.5951 MB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2257, allocations: 0.5459 MB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.2275, allocations: 2.19 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2277, allocations: 161.9 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.2282, allocations: 0.5213 MB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006805/0.2289, allocations: 0.6811 MB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.229, allocations: 48 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.2296, allocations: 399.4 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.23, allocations: 434.7 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.2304, allocations: 0.5593 MB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.2315, allocations: 1.444 MB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2315, allocations: 0 / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2315, allocations: 0 / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2315, allocations: 0 / 1.067 GB, free: 8.969 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.002374/0.2339, allocations: 1.616 MB / 1.069 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2339, allocations: 11.97 kB / 1.069 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.234, allocations: 86.7 kB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.2342, allocations: 131.3 kB / 1.069 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2352, allocations: 0.8076 MB / 1.07 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.2353, allocations: 45.38 kB / 1.07 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.2353, allocations: 64.28 kB / 1.07 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.2361, allocations: 0.6176 MB / 1.07 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2361, allocations: 0 / 1.07 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2362, allocations: 20 kB / 1.07 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.2362, allocations: 12 kB / 1.07 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.2368, allocations: 0.5543 MB / 1.071 GB, free: 4.871 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.003642/0.2405, allocations: 3.286 MB / 1.074 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2417, allocations: 0.8478 MB / 1.075 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.2421, allocations: 365.4 kB / 1.075 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.2422, allocations: 28.3 kB / 1.075 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2422, allocations: 30.94 kB / 1.075 GB, free: 60 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 1.443e-06/0.2422, allocations: 0 / 1.075 GB, free: 60 kB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.001489/0.2437, allocations: 1.19 MB / 1.077 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2437, allocations: 55.41 kB / 1.077 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.245, allocations: 1.227 MB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.2451, allocations: 41.7 kB / 1.078 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.2454, allocations: 468.7 kB / 1.078 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.2455, allocations: 173.5 kB / 1.078 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.2457, allocations: 210.5 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2459, allocations: 357.9 kB / 1.079 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.2465, allocations: 0.6426 MB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/0.2474, allocations: 0.9669 MB / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.2489, allocations: 1.582 MB / 1.082 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2489, allocations: 4 kB / 1.082 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001952/0.2509, allocations: 1.783 MB / 1.084 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2509, allocations: 8 kB / 1.084 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.2509, allocations: 19.92 kB / 1.084 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.2511, allocations: 49.5 kB / 1.084 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2521, allocations: 271.6 kB / 1.084 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.2554, allocations: 6.729 MB / 1.091 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.2561, allocations: 134.9 kB / 1.091 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.2562, allocations: 44 kB / 1.091 GB, free: 15.45 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.000307/0.2565, allocations: 301.4 kB / 1.091 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2566, allocations: 110.6 kB / 1.091 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.2577, allocations: 0.8502 MB / 1.092 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2577, allocations: 4 kB / 1.092 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2577, allocations: 0 / 1.092 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2577, allocations: 3.984 kB / 1.092 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008531/0.2586, allocations: 0.9112 MB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2586, allocations: 0 / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.259, allocations: 115.7 kB / 1.093 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.496e-05/0.2591, allocations: 36.83 kB / 1.093 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.2592, allocations: 16 kB / 1.093 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008083/0.26, allocations: 1.323 MB / 1.095 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.26, allocations: 7.938 kB / 1.095 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2614, allocations: 1.366 MB / 1.096 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.2618, allocations: 263.4 kB / 1.096 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.2619, allocations: 16 kB / 1.096 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.2624, allocations: 36.05 kB / 1.096 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.2625, allocations: 27.95 kB / 1.096 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.2625, allocations: 12 kB / 1.096 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009463/0.2634, allocations: 0.8232 MB / 1.097 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2634, allocations: 0 / 1.097 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007939/0.2642, allocations: 363.7 kB / 1.097 GB, free: 8.637 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.00202/0.2663, allocations: 2.097 MB / 1.099 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.2683, allocations: 1.498 MB / 1.101 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2683, allocations: 3.938 kB / 1.101 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.2688, allocations: 482.5 kB / 1.101 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.2697, allocations: 218 kB / 1.102 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.2831, allocations: 12.28 MB / 1.114 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.2837, allocations: 1.102 MB / 1.115 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004382/0.2841, allocations: 203.1 kB / 1.115 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.2846, allocations: 395.3 kB / 1.115 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of SimCode: time 3.7e-07/0.2846, allocations: 0 / 1.115 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.123/2.407, allocations: 23.13 MB / 1.138 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/2.408, allocations: 238 kB / 1.138 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/4.6, allocations: 0 / 1.138 GB, free: 14.68 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)