Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.666/2.666, allocations: 287.5 MB / 302.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 187.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008774/0.0008774, allocations: 95.69 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004908, allocations: 9.938 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005056/0.2311, allocations: 3.763 MB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006209/0.2374, allocations: 2.84 MB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008359/0.2383, allocations: 19.88 kB / 0.9849 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.2396, allocations: 298.4 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.2417, allocations: 0.5639 MB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.2437, allocations: 0.5124 MB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.2466, allocations: 1.769 MB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.247, allocations: 144.5 kB / 0.9881 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.2483, allocations: 0.5177 MB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2496, allocations: 0.6657 MB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.2498, allocations: 44 kB / 0.9893 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.2508, allocations: 307.6 kB / 0.9896 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.2514, allocations: 418.8 kB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.2517, allocations: 237 kB / 0.9902 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.2531, allocations: 1.068 MB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2532, allocations: 3.938 kB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2532, allocations: 0 / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.2532, allocations: 0 / 0.9913 GB, free: 15.06 MB / 0.6198 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.003903/0.2571, allocations: 1.48 MB / 0.9927 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2572, allocations: 12.02 kB / 0.9927 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.2574, allocations: 78.52 kB / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.2577, allocations: 142.4 kB / 0.9929 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.2597, allocations: 0.7681 MB / 0.9937 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.2598, allocations: 45 kB / 0.9937 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.2599, allocations: 63.91 kB / 0.9938 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2612, allocations: 0.6138 MB / 0.9944 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2612, allocations: 0 / 0.9944 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.2613, allocations: 19.98 kB / 0.9944 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2613, allocations: 12 kB / 0.9944 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2624, allocations: 0.5543 MB / 0.995 GB, free: 11.14 MB / 0.6198 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.006468/0.2689, allocations: 3.313 MB / 0.9982 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.2709, allocations: 0.8423 MB / 0.999 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006385/0.2716, allocations: 357.4 kB / 0.9994 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2718, allocations: 28.36 kB / 0.9994 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2718, allocations: 34.94 kB / 0.9994 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 2.995e-06/0.2718, allocations: 0 / 0.9994 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002587/0.2744, allocations: 1.187 MB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.2745, allocations: 55.41 kB / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.2767, allocations: 1.219 MB / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.2769, allocations: 41.7 kB / 1.002 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.2773, allocations: 464.7 kB / 1.002 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.2775, allocations: 173.5 kB / 1.002 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.2776, allocations: 20 kB / 1.002 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2777, allocations: 353.8 kB / 1.003 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.2789, allocations: 0.6465 MB / 1.003 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.2802, allocations: 0.9669 MB / 1.004 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.2815, allocations: 0.7404 MB / 1.005 GB, free: 248 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2815, allocations: 8 kB / 1.005 GB, free: 240 kB / 0.6198 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004248/0.2858, allocations: 1.775 MB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.2858, allocations: 8 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-05/0.2859, allocations: 23.95 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.2862, allocations: 52.78 kB / 1.007 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.2885, allocations: 268 kB / 1.007 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.2946, allocations: 6.733 MB / 1.014 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.2964, allocations: 126.7 kB / 1.014 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.2966, allocations: 44.14 kB / 1.014 GB, free: 6.879 MB / 0.6355 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 (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006868/0.2973, allocations: 314.7 kB / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.2976, allocations: 114.4 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.2997, allocations: 0.8414 MB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.2997, allocations: 8 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.2998, allocations: 3.953 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.2998, allocations: 3.984 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.3018, allocations: 0.9113 MB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3018, allocations: 0 / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.3029, allocations: 111.9 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.3032, allocations: 32.83 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.3032, allocations: 19.98 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.3048, allocations: 1.334 MB / 1.018 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3048, allocations: 3.953 kB / 1.018 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.3079, allocations: 1.37 MB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008138/0.3087, allocations: 267.4 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.309, allocations: 20.05 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.31, allocations: 31.95 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3101, allocations: 24.08 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3102, allocations: 15.94 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001933/0.3121, allocations: 0.8193 MB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3122, allocations: 0 / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001723/0.3139, allocations: 375.6 kB / 1.02 GB, free: 40 kB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00388/0.3178, allocations: 1.999 MB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004382/0.3222, allocations: 1.507 MB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.3223, allocations: 0 / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.3235, allocations: 482.7 kB / 1.024 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.3257, allocations: 212.5 kB / 1.024 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.3482, allocations: 8.892 MB / 1.033 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.3494, allocations: 1.098 MB / 1.034 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001079/0.3505, allocations: 203.1 kB / 1.034 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/0.3513, allocations: 399.3 kB / 1.035 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/0.3513, allocations: 0 / 1.035 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07651/0.4279, allocations: 23.47 MB / 1.058 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004221/0.4284, allocations: 233.8 kB / 1.058 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/3.963, allocations: 0 / 1.058 GB, free: 9.426 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)