Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_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.0009328/0.0009328, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005332, allocations: 15.41 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004394/0.2702, allocations: 3.775 MB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.2749, allocations: 2.836 MB / 0.7938 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.2754, allocations: 19.88 kB / 0.7939 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.2763, allocations: 306.3 kB / 0.7942 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2775, allocations: 0.5639 MB / 0.7947 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.2789, allocations: 0.5068 MB / 0.7952 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.2811, allocations: 1.766 MB / 0.7969 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.2815, allocations: 148.3 kB / 0.7971 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009535/0.2824, allocations: 0.5215 MB / 0.7976 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.2833, allocations: 0.6579 MB / 0.7982 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.2834, allocations: 44 kB / 0.7983 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006782/0.2841, allocations: 315.6 kB / 0.7986 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.2846, allocations: 418.8 kB / 0.799 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.2848, allocations: 233.1 kB / 0.7992 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.286, allocations: 1.072 MB / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.286, allocations: 0 / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.973e-06/0.286, allocations: 0 / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.286, allocations: 0 / 0.8002 GB, free: 14.64 MB / 0.6231 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.00267/0.2887, allocations: 1.472 MB / 0.8017 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2888, allocations: 8.031 kB / 0.8017 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.2889, allocations: 78.47 kB / 0.8017 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.289, allocations: 142.3 kB / 0.8019 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.2904, allocations: 0.776 MB / 0.8026 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.2904, allocations: 45 kB / 0.8027 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.2905, allocations: 67.89 kB / 0.8028 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.2914, allocations: 0.6138 MB / 0.8034 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2914, allocations: 0 / 0.8034 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.2915, allocations: 16 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2915, allocations: 8 kB / 0.8034 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.2923, allocations: 0.5621 MB / 0.8039 GB, free: 10.73 MB / 0.6231 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.00422/0.2965, allocations: 3.306 MB / 0.8072 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.2978, allocations: 0.8515 MB / 0.808 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.2983, allocations: 368.1 kB / 0.8083 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.2984, allocations: 24.36 kB / 0.8084 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2984, allocations: 34.94 kB / 0.8084 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.2984, allocations: 0 / 0.8084 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001763/0.3002, allocations: 1.187 MB / 0.8095 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3002, allocations: 55.41 kB / 0.8096 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.3018, allocations: 1.216 MB / 0.8108 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.3018, allocations: 41.7 kB / 0.8108 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.3022, allocations: 468.7 kB / 0.8113 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.3024, allocations: 169.5 kB / 0.8114 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.3024, allocations: 16 kB / 0.8115 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3026, allocations: 361.9 kB / 0.8118 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.3034, allocations: 0.6387 MB / 0.8124 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3044, allocations: 0.9708 MB / 0.8134 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.3054, allocations: 0.752 MB / 0.8141 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.3054, allocations: 4 kB / 0.8141 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002662/0.3081, allocations: 1.775 MB / 0.8158 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.3081, allocations: 8 kB / 0.8158 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.3082, allocations: 12 kB / 0.8159 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/0.3085, allocations: 48.83 kB / 0.8159 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3097, allocations: 271.9 kB / 0.8162 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.3141, allocations: 6.737 MB / 0.8227 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3156, allocations: 130.9 kB / 0.8229 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.3157, allocations: 40 kB / 0.8229 GB, free: 6.465 MB / 0.6387 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.0006593/0.3164, allocations: 305.3 kB / 0.8232 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.3166, allocations: 110.5 kB / 0.8233 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.318, allocations: 0.8569 MB / 0.8241 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.3181, allocations: 4 kB / 0.8241 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3181, allocations: 0 / 0.8241 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3181, allocations: 7.938 kB / 0.8242 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.3195, allocations: 0.9075 MB / 0.825 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.3195, allocations: 3.938 kB / 0.825 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.32, allocations: 111.9 kB / 0.8251 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.3202, allocations: 32.83 kB / 0.8252 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.3203, allocations: 16 kB / 0.8252 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.3215, allocations: 1.334 MB / 0.8265 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3215, allocations: 0 / 0.8265 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.3234, allocations: 1.362 MB / 0.8278 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.3239, allocations: 275.5 kB / 0.8281 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.3241, allocations: 15.98 kB / 0.8281 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.3246, allocations: 31.92 kB / 0.8281 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.3247, allocations: 27.95 kB / 0.8282 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.3248, allocations: 12 kB / 0.8282 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00128/0.326, allocations: 0.8076 MB / 0.829 GB, free: 16 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3261, allocations: 4 kB / 0.829 GB, free: 12 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001347/0.3274, allocations: 375.6 kB / 0.8293 GB, free: 15.64 MB / 0.6544 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.002379/0.3298, allocations: 2.012 MB / 0.8313 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.3324, allocations: 1.503 MB / 0.8328 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3324, allocations: 0 / 0.8328 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.333, allocations: 478.6 kB / 0.8332 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3343, allocations: 220.5 kB / 0.8334 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.3483, allocations: 8.887 MB / 0.8421 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.3492, allocations: 1.098 MB / 0.8432 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006343/0.3498, allocations: 203.1 kB / 0.8434 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/0.3504, allocations: 395.3 kB / 0.8437 GB, free: 412 kB / 0.6544 GB Notification: Performance of SimCode: time 1.413e-06/0.3504, allocations: 0 / 0.8437 GB, free: 412 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/0.3956, allocations: 23.48 MB / 0.8667 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.396, allocations: 224.5 kB / 0.8669 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.694, allocations: 7.938 kB / 0.8669 GB, free: 9.023 MB / 0.6856 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) Environment - environmentSimulation: