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.001137/0.001137, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001107/0.001107, allocations: 199.8 kB / 16.26 MB, free: 6.629 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.183/1.183, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.628/1.628, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001312/0.001312, allocations: 68.12 kB / 0.6711 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1557, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004557/0.1603, allocations: 4.371 MB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.1642, allocations: 2.978 MB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.1647, allocations: 19.88 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.1655, allocations: 318.3 kB / 0.7905 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.1665, allocations: 0.5912 MB / 0.791 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1677, allocations: 0.5732 MB / 0.7916 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1691, allocations: 1.882 MB / 0.7934 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1693, allocations: 181.9 kB / 0.7936 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.1698, allocations: 0.5916 MB / 0.7942 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.1705, allocations: 0.7085 MB / 0.7949 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.1706, allocations: 79.94 kB / 0.7949 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.1711, allocations: 407.4 kB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.1714, allocations: 458.6 kB / 0.7958 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.1718, allocations: 0.5984 MB / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1729, allocations: 1.464 MB / 0.7978 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1729, allocations: 3.938 kB / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1729, allocations: 0 / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.1729, allocations: 0 / 0.7978 GB, free: 14.51 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.002271/0.1752, allocations: 1.616 MB / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1752, allocations: 8.031 kB / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.1753, allocations: 86.64 kB / 0.7995 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1755, allocations: 139.3 kB / 0.7996 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009677/0.1764, allocations: 0.8231 MB / 0.8004 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1765, allocations: 41.38 kB / 0.8004 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.1766, allocations: 64.38 kB / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.1773, allocations: 0.6099 MB / 0.8011 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1773, allocations: 7.922 kB / 0.8011 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.1773, allocations: 20 kB / 0.8011 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1774, allocations: 8 kB / 0.8011 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.178, allocations: 0.5582 MB / 0.8017 GB, free: 10.4 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.0035/0.1815, allocations: 3.278 MB / 0.8049 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1827, allocations: 0.8463 MB / 0.8057 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.1831, allocations: 365.1 kB / 0.806 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.1831, allocations: 28.34 kB / 0.8061 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1832, allocations: 46.86 kB / 0.8061 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.462e-06/0.1832, allocations: 0 / 0.8061 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.00141/0.1846, allocations: 1.171 MB / 0.8073 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1846, allocations: 55.41 kB / 0.8073 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.1859, allocations: 1.227 MB / 0.8085 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.1859, allocations: 45.7 kB / 0.8086 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.1862, allocations: 460.6 kB / 0.809 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1863, allocations: 173.6 kB / 0.8092 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.1865, allocations: 218.4 kB / 0.8094 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1867, allocations: 349.9 kB / 0.8097 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.1873, allocations: 0.6426 MB / 0.8103 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.1881, allocations: 0.9747 MB / 0.8113 GB, free: 72 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1895, allocations: 1.578 MB / 0.8128 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.1895, allocations: 4 kB / 0.8128 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001854/0.1914, allocations: 1.783 MB / 0.8146 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1914, allocations: 11.98 kB / 0.8146 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.1914, allocations: 12 kB / 0.8146 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.1916, allocations: 44.78 kB / 0.8146 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000991/0.1926, allocations: 279.8 kB / 0.8149 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.1957, allocations: 6.839 MB / 0.8216 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.1964, allocations: 127 kB / 0.8217 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.1965, allocations: 43.98 kB / 0.8217 GB, free: 4.871 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.0003027/0.1968, allocations: 296.3 kB / 0.822 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1969, allocations: 114.4 kB / 0.8221 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.1979, allocations: 0.8542 MB / 0.823 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.198, allocations: 4 kB / 0.823 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.198, allocations: 4 kB / 0.823 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.198, allocations: 4 kB / 0.823 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008213/0.1988, allocations: 0.915 MB / 0.8239 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1988, allocations: 0 / 0.8239 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.1993, allocations: 115.8 kB / 0.824 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.429e-05/0.1994, allocations: 32.84 kB / 0.824 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.1994, allocations: 15.98 kB / 0.824 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000794/0.2002, allocations: 1.437 MB / 0.8254 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2003, allocations: 0 / 0.8254 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.2016, allocations: 1.362 MB / 0.8268 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.2019, allocations: 267.4 kB / 0.827 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.202, allocations: 15.98 kB / 0.827 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.2025, allocations: 31.88 kB / 0.8271 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.2026, allocations: 27.95 kB / 0.8271 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.2026, allocations: 16 kB / 0.8271 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008875/0.2035, allocations: 0.8115 MB / 0.8279 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2035, allocations: 4 kB / 0.8279 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008927/0.2044, allocations: 371.7 kB / 0.8283 GB, free: 13.95 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.001928/0.2064, allocations: 2.092 MB / 0.8303 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.2085, allocations: 1.6 MB / 0.8319 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2085, allocations: 0 / 0.8319 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.209, allocations: 494.8 kB / 0.8323 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.2099, allocations: 231.5 kB / 0.8326 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.2225, allocations: 12.29 MB / 0.8446 GB, free: 12.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.2231, allocations: 1.098 MB / 0.8456 GB, free: 11.52 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004396/0.2235, allocations: 207.1 kB / 0.8458 GB, free: 11.31 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.2239, allocations: 391.3 kB / 0.8462 GB, free: 10.93 MB / 0.67 GB Notification: Performance of SimCode: time 1.253e-06/0.224, allocations: 4 kB / 0.8462 GB, free: 10.93 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.671/1.895, allocations: 23.72 MB / 0.8694 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.895, allocations: 240.1 kB / 0.8696 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/4.221, allocations: 3.938 kB / 0.8696 GB, free: 3.285 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)