Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.0009375/0.0009375, allocations: 172.5 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0007435/0.0007435, allocations: 108.9 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.000494, allocations: 14.81 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.002713/0.1438, allocations: 3.763 MB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1469, allocations: 2.841 MB / 0.9866 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.1474, allocations: 19.88 kB / 0.9866 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.1481, allocations: 310.3 kB / 0.9869 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009135/0.149, allocations: 0.5688 MB / 0.9875 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.1499, allocations: 0.5202 MB / 0.988 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1512, allocations: 1.796 MB / 0.9898 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1514, allocations: 157.9 kB / 0.9899 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.1519, allocations: 0.5059 MB / 0.9904 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.1524, allocations: 0.6618 MB / 0.991 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.1525, allocations: 44 kB / 0.9911 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1529, allocations: 383.3 kB / 0.9915 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.1532, allocations: 418.8 kB / 0.9919 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.1535, allocations: 0.5575 MB / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.1541, allocations: 1.068 MB / 0.9934 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1541, allocations: 0 / 0.9934 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1541, allocations: 0 / 0.9934 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.1541, allocations: 0 / 0.9934 GB, free: 13.61 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.001888/0.156, allocations: 1.476 MB / 0.9949 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1561, allocations: 8.031 kB / 0.9949 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.1561, allocations: 78.72 kB / 0.995 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1563, allocations: 131.3 kB / 0.9951 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.1571, allocations: 0.8193 MB / 0.9959 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1572, allocations: 41.38 kB / 0.9959 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.1572, allocations: 68.28 kB / 0.996 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.1579, allocations: 0.6099 MB / 0.9966 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1579, allocations: 0 / 0.9966 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.1579, allocations: 19.94 kB / 0.9966 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1579, allocations: 12 kB / 0.9966 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.1585, allocations: 0.5621 MB / 0.9972 GB, free: 9.648 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.003047/0.1616, allocations: 3.302 MB / 1 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1626, allocations: 0.838 MB / 1.001 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.1629, allocations: 365.4 kB / 1.002 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.163, allocations: 28.34 kB / 1.002 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.163, allocations: 38.88 kB / 1.002 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.433e-06/0.163, allocations: 0 / 1.002 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001236/0.1643, allocations: 1.19 MB / 1.003 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.1643, allocations: 55.41 kB / 1.003 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1653, allocations: 1.223 MB / 1.004 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1654, allocations: 37.7 kB / 1.004 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1656, allocations: 460.7 kB / 1.005 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.1657, allocations: 177.5 kB / 1.005 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.1657, allocations: 16 kB / 1.005 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.1658, allocations: 357.8 kB / 1.005 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.1663, allocations: 0.6426 MB / 1.006 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.1671, allocations: 0.967 MB / 1.007 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.1687, allocations: 1.582 MB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1687, allocations: 4 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002045/0.1707, allocations: 1.775 MB / 1.01 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1708, allocations: 12.22 kB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.1708, allocations: 15.98 kB / 1.01 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.171, allocations: 40.84 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.172, allocations: 275.6 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.1754, allocations: 6.737 MB / 1.017 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.1762, allocations: 138.5 kB / 1.017 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.1762, allocations: 43.98 kB / 1.017 GB, free: 4.402 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.0003363/0.1766, allocations: 314.8 kB / 1.017 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1767, allocations: 106.6 kB / 1.017 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.1778, allocations: 0.8423 MB / 1.018 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1778, allocations: 12 kB / 1.018 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1778, allocations: 0 / 1.018 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1778, allocations: 3.984 kB / 1.018 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.1787, allocations: 0.9112 MB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1787, allocations: 4 kB / 1.019 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.1792, allocations: 111.8 kB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.361e-05/0.1793, allocations: 32.83 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.1793, allocations: 19.98 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008108/0.1801, allocations: 1.327 MB / 1.021 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1801, allocations: 0 / 1.021 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1816, allocations: 1.377 MB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.1819, allocations: 263.4 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.182, allocations: 16 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.1825, allocations: 35.89 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.1826, allocations: 27.97 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.1826, allocations: 19.97 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001019/0.1837, allocations: 0.8115 MB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1837, allocations: 0 / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007964/0.1845, allocations: 363.7 kB / 1.023 GB, free: 13.59 MB / 0.6511 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.002123/0.1866, allocations: 2.092 MB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.1887, allocations: 1.503 MB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1887, allocations: 0 / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.1893, allocations: 486.9 kB / 1.027 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/0.1902, allocations: 216.6 kB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.201, allocations: 8.877 MB / 1.036 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.2016, allocations: 1.106 MB / 1.037 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000452/0.2021, allocations: 203.1 kB / 1.038 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.2025, allocations: 399.3 kB / 1.038 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/0.2025, allocations: 3.938 kB / 1.038 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9116/1.114, allocations: 23.66 MB / 1.061 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.114, allocations: 223.2 kB / 1.061 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.507, allocations: 7.094 kB / 1.061 GB, free: 6.68 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)