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.000959/0.0009589, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.17/1.17, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.287/2.287, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 61.25 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2151, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004701/0.2199, allocations: 4.361 MB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00408/0.224, allocations: 2.953 MB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.2244, allocations: 19.88 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.2253, allocations: 369.6 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2264, allocations: 0.6486 MB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2276, allocations: 0.6315 MB / 1.062 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2289, allocations: 1.863 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.2292, allocations: 177.9 kB / 1.064 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.2297, allocations: 0.5918 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006893/0.2304, allocations: 0.6694 MB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.2305, allocations: 76 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.2311, allocations: 411.4 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.2315, allocations: 458.6 kB / 1.066 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.2319, allocations: 0.5945 MB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.233, allocations: 1.456 MB / 1.068 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.233, allocations: 0 / 1.068 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2331, allocations: 0 / 1.068 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.2331, allocations: 0 / 1.068 GB, free: 8.957 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.002338/0.2354, allocations: 1.62 MB / 1.069 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2354, allocations: 16.62 kB / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.2355, allocations: 78.72 kB / 1.069 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2357, allocations: 131.3 kB / 1.07 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009883/0.2367, allocations: 0.8115 MB / 1.07 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2367, allocations: 45.38 kB / 1.07 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.2368, allocations: 64.28 kB / 1.07 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.2375, allocations: 0.6176 MB / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2376, allocations: 0 / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.2376, allocations: 20 kB / 1.071 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2376, allocations: 15.94 kB / 1.071 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.2383, allocations: 0.5543 MB / 1.072 GB, free: 4.852 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.003604/0.2419, allocations: 3.282 MB / 1.075 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.243, allocations: 0.8528 MB / 1.076 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.2434, allocations: 365.4 kB / 1.076 GB, free: 108 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.2435, allocations: 24.36 kB / 1.076 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2435, allocations: 30.94 kB / 1.076 GB, free: 44 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 1.372e-06/0.2435, allocations: 0 / 1.076 GB, free: 44 kB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.001446/0.245, allocations: 1.187 MB / 1.077 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.245, allocations: 59.34 kB / 1.077 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.2463, allocations: 1.227 MB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.2464, allocations: 41.7 kB / 1.079 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.2467, allocations: 464.7 kB / 1.079 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.2468, allocations: 173.5 kB / 1.079 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.2471, allocations: 206.5 kB / 1.079 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2472, allocations: 361.9 kB / 1.08 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/0.2479, allocations: 0.6387 MB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.2487, allocations: 0.9708 MB / 1.081 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.2501, allocations: 1.582 MB / 1.083 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2501, allocations: 0 / 1.083 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00191/0.2521, allocations: 1.787 MB / 1.085 GB, free: 7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2521, allocations: 8 kB / 1.085 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2521, allocations: 12 kB / 1.085 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.2523, allocations: 49.45 kB / 1.085 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009813/0.2533, allocations: 267.6 kB / 1.085 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.2565, allocations: 6.844 MB / 1.092 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/0.2572, allocations: 126.6 kB / 1.092 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.2573, allocations: 44 kB / 1.092 GB, free: 15.33 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.0003404/0.2577, allocations: 301.4 kB / 1.092 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.2578, allocations: 118.4 kB / 1.092 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2589, allocations: 0.8415 MB / 1.093 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2589, allocations: 4 kB / 1.093 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2589, allocations: 3.938 kB / 1.093 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.2589, allocations: 3.984 kB / 1.093 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.2598, allocations: 0.9151 MB / 1.094 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2598, allocations: 0 / 1.094 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.2603, allocations: 111.8 kB / 1.094 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.2604, allocations: 40.83 kB / 1.094 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.2604, allocations: 12 kB / 1.094 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008997/0.2614, allocations: 1.437 MB / 1.095 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2614, allocations: 0 / 1.095 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2628, allocations: 1.37 MB / 1.097 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.2631, allocations: 267.4 kB / 1.097 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2632, allocations: 20 kB / 1.097 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.2637, allocations: 19.97 kB / 1.097 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.2638, allocations: 31.95 kB / 1.097 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.2638, allocations: 12 kB / 1.097 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009562/0.2648, allocations: 0.831 MB / 1.098 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2648, allocations: 0 / 1.098 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008345/0.2656, allocations: 363.7 kB / 1.098 GB, free: 8.398 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.002022/0.2677, allocations: 2.084 MB / 1.1 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.2699, allocations: 1.612 MB / 1.102 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2699, allocations: 0 / 1.102 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.2704, allocations: 482.6 kB / 1.102 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008992/0.2713, allocations: 222.6 kB / 1.103 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.2837, allocations: 12.01 MB / 1.114 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.2843, allocations: 1.098 MB / 1.115 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.2847, allocations: 203.1 kB / 1.116 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.2852, allocations: 403.2 kB / 1.116 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.2852, allocations: 0 / 1.116 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.747/3.032, allocations: 23.87 MB / 1.139 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/13.94, allocations: 16.3 kB / 1.139 GB, free: 14.08 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)