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.38/1.38, allocations: 252 MB / 267 MB, free: 10.93 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.000964/0.0009646, allocations: 187.2 kB / 326.6 MB, free: 2.191 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.592/1.592, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0008245/0.0008244, allocations: 88.47 kB / 0.6822 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003813, allocations: 9.625 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003784/0.2074, allocations: 3.762 MB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003791/0.2112, allocations: 2.843 MB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.2116, allocations: 19.88 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.2125, allocations: 302.4 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.2136, allocations: 0.5744 MB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2147, allocations: 0.503 MB / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.216, allocations: 1.772 MB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.2163, allocations: 144.5 kB / 0.91 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.2169, allocations: 0.5177 MB / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.2176, allocations: 0.6657 MB / 0.9111 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.319e-05/0.2177, allocations: 40 kB / 0.9112 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.2182, allocations: 311.6 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.2185, allocations: 418.8 kB / 0.9119 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2187, allocations: 241 kB / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.2194, allocations: 1.068 MB / 0.9131 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2194, allocations: 0 / 0.9131 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2194, allocations: 0 / 0.9131 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.2194, allocations: 0 / 0.9131 GB, free: 50.55 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.002218/0.2217, allocations: 1.476 MB / 0.9146 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2217, allocations: 8.031 kB / 0.9146 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.821e-05/0.2218, allocations: 86.52 kB / 0.9147 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2219, allocations: 134.4 kB / 0.9148 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.2229, allocations: 0.7797 MB / 0.9156 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2229, allocations: 41 kB / 0.9156 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.223, allocations: 64 kB / 0.9157 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.2237, allocations: 0.6099 MB / 0.9163 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2237, allocations: 0 / 0.9163 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2238, allocations: 23.98 kB / 0.9163 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2238, allocations: 12 kB / 0.9163 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.2244, allocations: 0.5543 MB / 0.9168 GB, free: 46.63 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.003387/0.2278, allocations: 3.302 MB / 0.9201 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.229, allocations: 0.8429 MB / 0.9209 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.2293, allocations: 370.8 kB / 0.9212 GB, free: 41.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.2294, allocations: 20.36 kB / 0.9212 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2294, allocations: 34.94 kB / 0.9213 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.2294, allocations: 4 kB / 0.9213 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001405/0.2309, allocations: 1.19 MB / 0.9224 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2309, allocations: 55.41 kB / 0.9225 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.2321, allocations: 1.216 MB / 0.9237 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.2322, allocations: 37.7 kB / 0.9237 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.2324, allocations: 468.7 kB / 0.9242 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.2325, allocations: 173.5 kB / 0.9243 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2326, allocations: 20 kB / 0.9244 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.2326, allocations: 353.9 kB / 0.9247 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.2332, allocations: 0.6387 MB / 0.9253 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.2339, allocations: 0.9708 MB / 0.9263 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.2346, allocations: 0.7481 MB / 0.927 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2346, allocations: 4 kB / 0.927 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001739/0.2364, allocations: 1.779 MB / 0.9287 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.2364, allocations: 12 kB / 0.9287 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.2364, allocations: 15.94 kB / 0.9288 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.2366, allocations: 44.83 kB / 0.9288 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.2377, allocations: 268 kB / 0.9291 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.2399, allocations: 6.749 MB / 0.9357 GB, free: 26.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.241, allocations: 130.9 kB / 0.9358 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.241, allocations: 47.95 kB / 0.9358 GB, free: 26.37 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 (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.0003827/0.2414, allocations: 306 kB / 0.9361 GB, free: 26.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2415, allocations: 110.6 kB / 0.9362 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000944/0.2425, allocations: 0.8387 MB / 0.937 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2425, allocations: 4 kB / 0.937 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2425, allocations: 7.953 kB / 0.9371 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2425, allocations: 3.984 kB / 0.9371 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.2433, allocations: 0.9112 MB / 0.9379 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2433, allocations: 0 / 0.9379 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.2438, allocations: 111.9 kB / 0.9381 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.2439, allocations: 36.83 kB / 0.9381 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.244, allocations: 15.98 kB / 0.9381 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006458/0.2446, allocations: 1.327 MB / 0.9394 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2446, allocations: 3.953 kB / 0.9394 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.2459, allocations: 1.37 MB / 0.9407 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.2462, allocations: 267.5 kB / 0.941 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.2463, allocations: 15.95 kB / 0.941 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.2468, allocations: 35.95 kB / 0.941 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.2469, allocations: 31.89 kB / 0.9411 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.2469, allocations: 12 kB / 0.9411 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008338/0.2477, allocations: 0.8115 MB / 0.9419 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2478, allocations: 0 / 0.9419 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008885/0.2487, allocations: 367.7 kB / 0.9422 GB, free: 19.56 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 (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.001696/0.2504, allocations: 2.021 MB / 0.9442 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.2525, allocations: 1.499 MB / 0.9457 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2525, allocations: 0.6875 kB / 0.9457 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.2529, allocations: 478.4 kB / 0.9461 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.254, allocations: 222.5 kB / 0.9463 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.2643, allocations: 8.882 MB / 0.955 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.2648, allocations: 1.098 MB / 0.9561 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006215/0.2655, allocations: 207.1 kB / 0.9563 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.2659, allocations: 399.3 kB / 0.9567 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.266, allocations: 0 / 0.9567 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/0.3089, allocations: 23.49 MB / 0.9796 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.3091, allocations: 239.8 kB / 0.9798 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.021, allocations: 0 / 0.9798 GB, free: 12.93 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)