Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.62/1.62, allocations: 287.4 MB / 302.6 MB, free: 8.281 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.0009452/0.0009455, allocations: 182.7 kB / 371.1 MB, free: 10.85 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.465/1.465, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007614/0.0007614, allocations: 108.8 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003915, allocations: 10.56 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1994, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.002937/0.2023, allocations: 3.771 MB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.2059, allocations: 2.832 MB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.2063, allocations: 15.88 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.207, allocations: 306.4 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009143/0.2079, allocations: 0.5716 MB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.2089, allocations: 0.503 MB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.2101, allocations: 1.8 MB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.2103, allocations: 149.9 kB / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.2108, allocations: 0.5215 MB / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.2113, allocations: 0.6618 MB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.2114, allocations: 44 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.2119, allocations: 307.6 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.2122, allocations: 422.8 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.2123, allocations: 237.1 kB / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.2129, allocations: 1.06 MB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2129, allocations: 7.984 kB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.213, allocations: 7.875 kB / 0.9916 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.213, allocations: 0 / 0.9916 GB, free: 14.87 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.001996/0.215, allocations: 1.461 MB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.215, allocations: 8.031 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.2151, allocations: 86.7 kB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.2152, allocations: 131.3 kB / 0.9932 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.2161, allocations: 0.8115 MB / 0.994 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2162, allocations: 45.38 kB / 0.9941 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.2162, allocations: 64.28 kB / 0.9941 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.2169, allocations: 0.6099 MB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2169, allocations: 3.938 kB / 0.9947 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.2169, allocations: 23.98 kB / 0.9948 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.217, allocations: 15.98 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.2175, allocations: 0.5543 MB / 0.9953 GB, free: 10.92 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.003104/0.2206, allocations: 3.302 MB / 0.9985 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2217, allocations: 0.8422 MB / 0.9994 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.222, allocations: 369.1 kB / 0.9997 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.2221, allocations: 32.34 kB / 0.9997 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.2221, allocations: 38.88 kB / 0.9998 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.2221, allocations: 0 / 0.9998 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001259/0.2234, allocations: 1.182 MB / 1.001 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.2234, allocations: 55.41 kB / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2245, allocations: 1.22 MB / 1.002 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2246, allocations: 45.64 kB / 1.002 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.2248, allocations: 460.7 kB / 1.003 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.2249, allocations: 181.4 kB / 1.003 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.2249, allocations: 16 kB / 1.003 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.225, allocations: 349.9 kB / 1.003 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.2256, allocations: 0.6504 MB / 1.004 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.2263, allocations: 0.963 MB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.2277, allocations: 1.59 MB / 1.006 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2277, allocations: 4 kB / 1.006 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002063/0.2298, allocations: 1.775 MB / 1.008 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.2298, allocations: 12.19 kB / 1.008 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.2298, allocations: 12 kB / 1.008 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.23, allocations: 48.83 kB / 1.008 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2311, allocations: 263.6 kB / 1.008 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.2347, allocations: 6.741 MB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/0.2355, allocations: 134.6 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.2356, allocations: 40 kB / 1.015 GB, free: 5.676 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.0003878/0.236, allocations: 312.6 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.2361, allocations: 106.6 kB / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2372, allocations: 0.8579 MB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2372, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2373, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2373, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009338/0.2382, allocations: 0.9152 MB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2382, allocations: 0 / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.2387, allocations: 115.8 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2388, allocations: 32.83 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.2389, allocations: 16 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008623/0.2397, allocations: 1.338 MB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2398, allocations: 0 / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.2412, allocations: 1.373 MB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.2416, allocations: 263.4 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2417, allocations: 19.98 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.2422, allocations: 39.91 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.2423, allocations: 23.95 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2423, allocations: 12 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001/0.2433, allocations: 0.8115 MB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2434, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008711/0.2442, allocations: 371.7 kB / 1.022 GB, free: 14.84 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.002005/0.2462, allocations: 1.998 MB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.2484, allocations: 1.506 MB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2484, allocations: 0 / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.249, allocations: 483.8 kB / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.25, allocations: 212.4 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.2612, allocations: 8.888 MB / 1.034 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.2619, allocations: 1.106 MB / 1.035 GB, free: 208 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006294/0.2626, allocations: 199.1 kB / 1.036 GB, free: 4 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/0.2631, allocations: 399.4 kB / 1.036 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of SimCode: time 8.12e-07/0.2631, allocations: 0 / 1.036 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6541/0.9172, allocations: 23.45 MB / 1.059 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/0.9176, allocations: 226 kB / 1.059 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.41, allocations: 0 / 1.059 GB, free: 8.246 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)