Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 175.8 kB / 325.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006604/0.0006604, allocations: 90.53 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 8.969 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1325, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.002711/0.1353, allocations: 4.037 MB / 0.9001 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.138, allocations: 3.025 MB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1383, allocations: 15.88 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.1389, allocations: 322.3 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000721/0.1396, allocations: 0.6107 MB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.1404, allocations: 0.5536 MB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1414, allocations: 2.182 MB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.1416, allocations: 165.8 kB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.142, allocations: 0.5135 MB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.1425, allocations: 0.6772 MB / 0.908 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.1426, allocations: 43.94 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.143, allocations: 387.5 kB / 0.9084 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.1432, allocations: 422.6 kB / 0.9088 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1436, allocations: 0.5593 MB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.1443, allocations: 1.401 MB / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1443, allocations: 0 / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1443, allocations: 0 / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.1443, allocations: 0 / 0.9107 GB, free: 53.13 MB / 0.6042 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.001796/0.1461, allocations: 1.468 MB / 0.9122 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.1462, allocations: 8.031 kB / 0.9122 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.1462, allocations: 82.72 kB / 0.9122 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1464, allocations: 135.3 kB / 0.9124 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.1472, allocations: 0.8192 MB / 0.9132 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1472, allocations: 41.38 kB / 0.9132 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.1473, allocations: 64.38 kB / 0.9133 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.1479, allocations: 0.6176 MB / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1479, allocations: 0 / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1479, allocations: 16 kB / 0.9139 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1479, allocations: 12 kB / 0.9139 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.1484, allocations: 0.5621 MB / 0.9145 GB, free: 49.17 MB / 0.6042 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.002807/0.1513, allocations: 3.298 MB / 0.9177 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.1522, allocations: 0.8517 MB / 0.9185 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.1525, allocations: 365.4 kB / 0.9189 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.1526, allocations: 20.36 kB / 0.9189 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.1526, allocations: 42.94 kB / 0.9189 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 1.543e-06/0.1526, allocations: 0 / 0.9189 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001171/0.1538, allocations: 1.186 MB / 0.9201 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.1538, allocations: 55.41 kB / 0.9201 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1548, allocations: 1.239 MB / 0.9213 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1549, allocations: 37.7 kB / 0.9214 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1551, allocations: 464.7 kB / 0.9218 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.1552, allocations: 173.6 kB / 0.922 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.1552, allocations: 121.6 kB / 0.9221 GB, free: 41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.1553, allocations: 357.8 kB / 0.9224 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/0.1558, allocations: 0.6426 MB / 0.9231 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.1564, allocations: 0.9825 MB / 0.924 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1575, allocations: 1.586 MB / 0.9256 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1575, allocations: 4 kB / 0.9256 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001494/0.159, allocations: 1.787 MB / 0.9273 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1591, allocations: 12 kB / 0.9273 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.1591, allocations: 12.69 kB / 0.9273 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.1592, allocations: 52.83 kB / 0.9274 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009021/0.1601, allocations: 267.6 kB / 0.9277 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.1621, allocations: 6.729 MB / 0.9342 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.1627, allocations: 134.9 kB / 0.9344 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.1628, allocations: 40 kB / 0.9344 GB, free: 27.79 MB / 0.6042 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.0002372/0.163, allocations: 297.5 kB / 0.9347 GB, free: 27.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1631, allocations: 118.5 kB / 0.9348 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008129/0.164, allocations: 0.8543 MB / 0.9356 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.164, allocations: 4 kB / 0.9356 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.164, allocations: 0 / 0.9356 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.164, allocations: 3.984 kB / 0.9356 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.1646, allocations: 0.9113 MB / 0.9365 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1646, allocations: 0 / 0.9365 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.1651, allocations: 115.8 kB / 0.9366 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.202e-05/0.1652, allocations: 32.83 kB / 0.9367 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1652, allocations: 19.98 kB / 0.9367 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005118/0.1657, allocations: 1.331 MB / 0.938 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1657, allocations: 0 / 0.938 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1668, allocations: 1.381 MB / 0.9393 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.1671, allocations: 263.5 kB / 0.9396 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.1672, allocations: 19.98 kB / 0.9396 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.1676, allocations: 23.97 kB / 0.9396 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.1677, allocations: 31.95 kB / 0.9396 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1677, allocations: 16 kB / 0.9397 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007224/0.1685, allocations: 0.8233 MB / 0.9405 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1685, allocations: 3.938 kB / 0.9405 GB, free: 21.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006599/0.1691, allocations: 367.6 kB / 0.9408 GB, free: 20.95 MB / 0.6042 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.00151/0.1706, allocations: 2.084 MB / 0.9429 GB, free: 18.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.1723, allocations: 1.506 MB / 0.9443 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1723, allocations: 0 / 0.9443 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.1727, allocations: 487.8 kB / 0.9448 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.1735, allocations: 218.8 kB / 0.945 GB, free: 16.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.1838, allocations: 12.31 MB / 0.957 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1841, allocations: 1.098 MB / 0.9581 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003857/0.1845, allocations: 207.1 kB / 0.9583 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.1849, allocations: 399.2 kB / 0.9587 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.1849, allocations: 4 kB / 0.9587 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6259/0.8108, allocations: 22.75 MB / 0.9809 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.8111, allocations: 253.4 kB / 0.9811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.605, allocations: 0 / 0.9811 GB, free: 11.36 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)