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.398/1.398, allocations: 251.9 MB / 266.9 MB, free: 11 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.001129/0.001129, allocations: 187.4 kB / 326.5 MB, free: 2.215 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.774/1.774, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009796/0.0009798, allocations: 95.48 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 9.656 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.228, allocations: 106.4 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003136/0.2312, allocations: 3.483 MB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.2349, allocations: 2.856 MB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.2353, allocations: 19.88 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.2363, allocations: 414.2 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009085/0.2372, allocations: 0.5025 MB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2383, allocations: 0.5046 MB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.2394, allocations: 1.046 MB / 0.9088 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.2396, allocations: 144.5 kB / 0.9089 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.2401, allocations: 454.5 kB / 0.9093 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.2405, allocations: 498.1 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.2406, allocations: 36 kB / 0.9098 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.241, allocations: 291.6 kB / 0.9101 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.2413, allocations: 386.9 kB / 0.9105 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2414, allocations: 241 kB / 0.9107 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006639/0.2421, allocations: 1.036 MB / 0.9117 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2421, allocations: 0 / 0.9117 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2421, allocations: 0 / 0.9117 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2421, allocations: 4 kB / 0.9117 GB, free: 51.87 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.002158/0.2443, allocations: 1.46 MB / 0.9132 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2443, allocations: 8.031 kB / 0.9132 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.857e-05/0.2444, allocations: 82.53 kB / 0.9132 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.2445, allocations: 142.3 kB / 0.9134 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009537/0.2455, allocations: 0.7253 MB / 0.9141 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2455, allocations: 41 kB / 0.9141 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.2456, allocations: 63.91 kB / 0.9142 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.2463, allocations: 0.6099 MB / 0.9148 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2464, allocations: 0 / 0.9148 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.2464, allocations: 16 kB / 0.9148 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2464, allocations: 12 kB / 0.9148 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.2471, allocations: 0.5621 MB / 0.9154 GB, free: 48.02 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.003524/0.2506, allocations: 3.278 MB / 0.9186 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2517, allocations: 0.8439 MB / 0.9194 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.94e-05/0.2518, allocations: 20.36 kB / 0.9194 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2518, allocations: 42.94 kB / 0.9194 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.364e-06/0.2518, allocations: 0 / 0.9194 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001336/0.2532, allocations: 1.183 MB / 0.9206 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2532, allocations: 59.41 kB / 0.9207 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.2543, allocations: 1.177 MB / 0.9218 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.2544, allocations: 41.7 kB / 0.9218 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.2547, allocations: 468.7 kB / 0.9223 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.2548, allocations: 169.5 kB / 0.9224 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.2548, allocations: 16 kB / 0.9225 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.2549, allocations: 361.9 kB / 0.9228 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.2555, allocations: 0.6348 MB / 0.9234 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.2562, allocations: 0.9708 MB / 0.9244 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.2569, allocations: 0.7403 MB / 0.9251 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2569, allocations: 4 kB / 0.9251 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001654/0.2586, allocations: 1.776 MB / 0.9268 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2586, allocations: 11.98 kB / 0.9268 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.2586, allocations: 15.94 kB / 0.9269 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.2588, allocations: 44.84 kB / 0.9269 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.2598, allocations: 267.6 kB / 0.9272 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.2622, allocations: 6.745 MB / 0.9338 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/0.2632, allocations: 126.7 kB / 0.9339 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.2632, allocations: 44 kB / 0.9339 GB, free: 28.2 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.000363/0.2636, allocations: 309.4 kB / 0.9342 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2638, allocations: 114.5 kB / 0.9343 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.2648, allocations: 0.8465 MB / 0.9351 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2648, allocations: 4 kB / 0.9351 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2648, allocations: 3.953 kB / 0.9352 GB, free: 26.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2648, allocations: 7.938 kB / 0.9352 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.2655, allocations: 0.8957 MB / 0.936 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2656, allocations: 0 / 0.936 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.266, allocations: 107.9 kB / 0.9361 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.2661, allocations: 36.83 kB / 0.9362 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2662, allocations: 12 kB / 0.9362 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006429/0.2668, allocations: 1.346 MB / 0.9375 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2668, allocations: 7.891 kB / 0.9375 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.2681, allocations: 1.37 MB / 0.9388 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.2684, allocations: 259.4 kB / 0.9391 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.2685, allocations: 15.95 kB / 0.9391 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.269, allocations: 43.89 kB / 0.9391 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.2691, allocations: 23.97 kB / 0.9392 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2691, allocations: 11.98 kB / 0.9392 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007889/0.2699, allocations: 0.7725 MB / 0.9399 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2699, allocations: 0 / 0.9399 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009025/0.2708, allocations: 367.7 kB / 0.9403 GB, free: 21.42 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.001662/0.2725, allocations: 2.019 MB / 0.9423 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.2744, allocations: 1.505 MB / 0.9437 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2745, allocations: 2 kB / 0.9437 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.2749, allocations: 474.4 kB / 0.9442 GB, free: 17.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.2758, allocations: 207.3 kB / 0.9444 GB, free: 17.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.2804, allocations: 10.67 MB / 0.9548 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.2809, allocations: 1.121 MB / 0.9559 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004759/0.2814, allocations: 190.4 kB / 0.9561 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.2818, allocations: 395.3 kB / 0.9565 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/0.2818, allocations: 0 / 0.9565 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.3229, allocations: 22.16 MB / 0.9781 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/0.3233, allocations: 227.2 kB / 0.9783 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.021, allocations: 0 / 0.9783 GB, free: 14.45 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)