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.001454/0.001454, 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.001691/0.001691, allocations: 192.8 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.992 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.618/1.618, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001376/0.001376, allocations: 73.05 kB / 0.6709 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.169, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00477/0.1738, allocations: 4.362 MB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1778, allocations: 3.017 MB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.178, allocations: 19.88 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.1788, allocations: 322.3 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009682/0.1798, allocations: 0.599 MB / 0.7909 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1808, allocations: 0.5459 MB / 0.7914 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.1825, allocations: 2.197 MB / 0.7936 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.1828, allocations: 157.9 kB / 0.7937 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.1834, allocations: 0.5253 MB / 0.7942 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007423/0.1841, allocations: 0.6772 MB / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1842, allocations: 48 kB / 0.795 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.1848, allocations: 391.4 kB / 0.7953 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.1852, allocations: 430.6 kB / 0.7957 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.1857, allocations: 0.5632 MB / 0.7963 GB, free: 52 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1869, allocations: 1.433 MB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1869, allocations: 0 / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1869, allocations: 8 kB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.187, allocations: 0 / 0.7977 GB, free: 14.61 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.002623/0.1896, allocations: 1.616 MB / 0.7993 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1896, allocations: 8.031 kB / 0.7993 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.912e-05/0.1897, allocations: 86.7 kB / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.1899, allocations: 131.3 kB / 0.7995 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.191, allocations: 0.8154 MB / 0.8003 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.1911, allocations: 53.31 kB / 0.8003 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.1912, allocations: 60.38 kB / 0.8004 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.192, allocations: 0.6138 MB / 0.801 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.192, allocations: 0 / 0.801 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.1921, allocations: 20 kB / 0.801 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1921, allocations: 8 kB / 0.801 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.1928, allocations: 0.566 MB / 0.8016 GB, free: 10.5 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.003992/0.1968, allocations: 3.278 MB / 0.8048 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.1981, allocations: 0.84 MB / 0.8056 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.1986, allocations: 373.1 kB / 0.8059 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.256e-05/0.1986, allocations: 24.36 kB / 0.806 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.1987, allocations: 30.94 kB / 0.806 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.1987, allocations: 4 kB / 0.806 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001591/0.2003, allocations: 1.178 MB / 0.8072 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.2003, allocations: 55.41 kB / 0.8072 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.2017, allocations: 1.227 MB / 0.8084 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.2018, allocations: 45.64 kB / 0.8084 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.2021, allocations: 472.7 kB / 0.8089 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2023, allocations: 169.6 kB / 0.8091 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.2025, allocations: 214.4 kB / 0.8093 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2026, allocations: 353.9 kB / 0.8096 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/0.2034, allocations: 0.6426 MB / 0.8102 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/0.2043, allocations: 0.9747 MB / 0.8112 GB, free: 168 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.206, allocations: 1.586 MB / 0.8127 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.206, allocations: 0 / 0.8127 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002162/0.2081, allocations: 1.787 MB / 0.8145 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2082, allocations: 8 kB / 0.8145 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.2082, allocations: 16 kB / 0.8145 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.2084, allocations: 44.83 kB / 0.8145 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2095, allocations: 259.7 kB / 0.8148 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.213, allocations: 6.741 MB / 0.8214 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/0.2139, allocations: 126.7 kB / 0.8215 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.2139, allocations: 44 kB / 0.8215 GB, free: 5.086 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 (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.0003605/0.2143, allocations: 305.4 kB / 0.8218 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.2144, allocations: 114.7 kB / 0.8219 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.2156, allocations: 0.8424 MB / 0.8228 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2156, allocations: 4 kB / 0.8228 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2156, allocations: 0 / 0.8228 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2156, allocations: 7.922 kB / 0.8228 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.2166, allocations: 0.919 MB / 0.8237 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2166, allocations: 0 / 0.8237 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.2171, allocations: 115.8 kB / 0.8238 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.2173, allocations: 32.83 kB / 0.8238 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.2173, allocations: 15.98 kB / 0.8238 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000873/0.2182, allocations: 1.334 MB / 0.8251 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2182, allocations: 0 / 0.8251 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.2198, allocations: 1.366 MB / 0.8265 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.2201, allocations: 259.5 kB / 0.8267 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.2203, allocations: 19.98 kB / 0.8267 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.2208, allocations: 31.88 kB / 0.8268 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.2209, allocations: 27.95 kB / 0.8268 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.2209, allocations: 12 kB / 0.8268 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001026/0.222, allocations: 0.831 MB / 0.8276 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.222, allocations: 0 / 0.8276 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009046/0.2229, allocations: 355.8 kB / 0.8279 GB, free: 14.27 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 (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.002201/0.2251, allocations: 2.098 MB / 0.83 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.2273, allocations: 1.503 MB / 0.8315 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2273, allocations: 0 / 0.8315 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.2279, allocations: 486.8 kB / 0.8319 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2289, allocations: 211.5 kB / 0.8321 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.2434, allocations: 12.3 MB / 0.8441 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.244, allocations: 1.102 MB / 0.8452 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004933/0.2445, allocations: 207.1 kB / 0.8454 GB, free: 11.74 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.245, allocations: 399.3 kB / 0.8458 GB, free: 11.35 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.245, allocations: 0 / 0.8458 GB, free: 11.35 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6432/0.8882, allocations: 23.12 MB / 0.8684 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/0.8885, allocations: 242.5 kB / 0.8686 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.107, allocations: 0 / 0.8686 GB, free: 4.289 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/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)