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.001003/0.001003, 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.007514/0.007514, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 9.188 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003801/0.2578, allocations: 3.98 MB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.2619, allocations: 2.961 MB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.2624, allocations: 15.88 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.2632, allocations: 322.2 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.2645, allocations: 0.599 MB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2658, allocations: 0.5481 MB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002031/0.2678, allocations: 2.186 MB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.2681, allocations: 149.9 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.2687, allocations: 0.5135 MB / 1.07 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008343/0.2695, allocations: 0.6772 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.425e-05/0.2697, allocations: 40 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.2703, allocations: 391.4 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.2707, allocations: 422.7 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.2712, allocations: 0.5805 MB / 1.072 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.2723, allocations: 1.413 MB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2723, allocations: 3.938 kB / 1.073 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2723, allocations: 4 kB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2723, allocations: 0 / 1.073 GB, free: 6.027 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.2747, allocations: 1.457 MB / 1.075 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2748, allocations: 11.97 kB / 1.075 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.321e-05/0.2749, allocations: 86.7 kB / 1.075 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.275, allocations: 135.2 kB / 1.075 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.2761, allocations: 0.8076 MB / 1.076 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.2762, allocations: 45.38 kB / 1.076 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.2763, allocations: 64.28 kB / 1.076 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.2771, allocations: 0.6176 MB / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2771, allocations: 0 / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.2772, allocations: 20 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2772, allocations: 12 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.2779, allocations: 0.5621 MB / 1.077 GB, free: 2.074 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.004147/0.2821, allocations: 3.306 MB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2834, allocations: 0.8468 MB / 1.081 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.2839, allocations: 369.4 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.284, allocations: 24.36 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.284, allocations: 34.88 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.284, allocations: 4 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001687/0.2857, allocations: 1.186 MB / 1.083 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2858, allocations: 59.41 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.2873, allocations: 1.235 MB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2874, allocations: 41.7 kB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.2877, allocations: 464.7 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.2879, allocations: 177.5 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.288, allocations: 121.6 kB / 1.085 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2882, allocations: 349.9 kB / 1.085 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007679/0.2889, allocations: 0.6465 MB / 1.086 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.2899, allocations: 0.9747 MB / 1.086 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.2916, allocations: 1.586 MB / 1.088 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2916, allocations: 4 kB / 1.088 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002114/0.2937, allocations: 1.787 MB / 1.09 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2937, allocations: 8 kB / 1.09 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.2938, allocations: 12 kB / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.294, allocations: 57.34 kB / 1.09 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.2951, allocations: 267.6 kB / 1.09 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.2988, allocations: 6.729 MB / 1.097 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.2997, allocations: 135 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.2998, allocations: 40 kB / 1.097 GB, free: 12.7 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.0004128/0.3002, allocations: 309.4 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.3004, allocations: 110.5 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3016, allocations: 0.8464 MB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3016, allocations: 8 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3016, allocations: 0 / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3016, allocations: 3.984 kB / 1.098 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3027, allocations: 0.9151 MB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3027, allocations: 0 / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.3033, allocations: 123.7 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.3034, allocations: 28.83 kB / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.3034, allocations: 19.98 kB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3044, allocations: 1.327 MB / 1.1 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3045, allocations: 3.938 kB / 1.1 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.3061, allocations: 1.377 MB / 1.102 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.3065, allocations: 267.5 kB / 1.102 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3066, allocations: 15.94 kB / 1.102 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.3072, allocations: 39.86 kB / 1.102 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.3073, allocations: 19.97 kB / 1.102 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.3073, allocations: 15.98 kB / 1.102 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001062/0.3084, allocations: 0.8271 MB / 1.103 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.383e-06/0.3084, allocations: 0 / 1.103 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009368/0.3094, allocations: 367.6 kB / 1.103 GB, free: 5.848 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.002393/0.3118, allocations: 2.081 MB / 1.105 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.3142, allocations: 1.51 MB / 1.107 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3142, allocations: 3.938 kB / 1.107 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.3148, allocations: 487.8 kB / 1.107 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3159, allocations: 218.2 kB / 1.107 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.3315, allocations: 12.49 MB / 1.12 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.3323, allocations: 1.106 MB / 1.121 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005521/0.3328, allocations: 207.1 kB / 1.121 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.3333, allocations: 391.3 kB / 1.121 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/0.3333, allocations: 0 / 1.121 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.356/1.69, allocations: 22.73 MB / 1.144 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.69, allocations: 237.4 kB / 1.144 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/4.048, allocations: 7.938 kB / 1.144 GB, free: 12.09 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)