Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.946/1.946, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001088/0.001088, allocations: 184.2 kB / 371.8 MB, free: 10.28 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.726/1.726, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.001086/0.001086, allocations: 101.5 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004519, allocations: 19.16 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004182/0.2307, allocations: 3.491 MB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004805/0.2356, allocations: 2.852 MB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.2365, allocations: 19.88 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.2377, allocations: 406.3 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2391, allocations: 0.5025 MB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2406, allocations: 0.5122 MB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.242, allocations: 1.042 MB / 0.9881 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.2423, allocations: 144.5 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.2429, allocations: 458.5 kB / 0.9886 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.2434, allocations: 498.1 kB / 0.9891 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.2435, allocations: 40 kB / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.244, allocations: 287.6 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.2443, allocations: 390.9 kB / 0.9898 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.2445, allocations: 237.1 kB / 0.99 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.2452, allocations: 1.033 MB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2452, allocations: 4 kB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2453, allocations: 3.938 kB / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.2453, allocations: 0 / 0.991 GB, free: 15.71 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.002423/0.2477, allocations: 1.453 MB / 0.9925 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2478, allocations: 12.02 kB / 0.9925 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.187e-05/0.2478, allocations: 90.47 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.248, allocations: 130.4 kB / 0.9927 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.249, allocations: 0.7369 MB / 0.9934 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.2491, allocations: 45 kB / 0.9934 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.2492, allocations: 64 kB / 0.9935 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.2499, allocations: 0.606 MB / 0.9941 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2499, allocations: 0 / 0.9941 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.2499, allocations: 16 kB / 0.9941 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.25, allocations: 12 kB / 0.9941 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.2506, allocations: 0.5621 MB / 0.9947 GB, free: 11.86 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.003558/0.2541, allocations: 3.263 MB / 0.9979 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.2552, allocations: 0.8533 MB / 0.9987 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-05/0.2553, allocations: 24.27 kB / 0.9987 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2554, allocations: 38.94 kB / 0.9988 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.984e-06/0.2554, allocations: 0 / 0.9988 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001397/0.2568, allocations: 1.184 MB / 0.9999 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.2568, allocations: 59.41 kB / 1 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2579, allocations: 1.169 MB / 1.001 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.258, allocations: 45.7 kB / 1.001 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.2583, allocations: 464.8 kB / 1.002 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2584, allocations: 173.4 kB / 1.002 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.2584, allocations: 16 kB / 1.002 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.2585, allocations: 361.9 kB / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.2591, allocations: 0.6348 MB / 1.003 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.2598, allocations: 0.9747 MB / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.2605, allocations: 0.7403 MB / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2605, allocations: 4 kB / 1.004 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001979/0.2625, allocations: 1.776 MB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2625, allocations: 11.94 kB / 1.006 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.2626, allocations: 20.09 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.2628, allocations: 40.84 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.264, allocations: 267.6 kB / 1.006 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.268, allocations: 6.741 MB / 1.013 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.2692, allocations: 134.5 kB / 1.013 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.2693, allocations: 47.98 kB / 1.013 GB, free: 8.031 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.0004416/0.2697, allocations: 304.5 kB / 1.014 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.2699, allocations: 114.7 kB / 1.014 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.271, allocations: 0.8529 MB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2711, allocations: 7.938 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2711, allocations: 0 / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2711, allocations: 7.953 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.2721, allocations: 0.8957 MB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2721, allocations: 4 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.2726, allocations: 107.9 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.2727, allocations: 32.83 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.2728, allocations: 12 kB / 1.016 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009325/0.2737, allocations: 1.342 MB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2737, allocations: 0 / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2754, allocations: 1.374 MB / 1.018 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.2758, allocations: 259.5 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2759, allocations: 12 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.2765, allocations: 43.81 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.2765, allocations: 27.97 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2766, allocations: 11.98 kB / 1.019 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001041/0.2776, allocations: 0.7725 MB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2776, allocations: 0 / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001161/0.2788, allocations: 367.7 kB / 1.02 GB, free: 1.266 MB / 0.6355 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.002299/0.2811, allocations: 2.015 MB / 1.022 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002578/0.2837, allocations: 1.502 MB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2837, allocations: 0 / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.2843, allocations: 478.5 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.2855, allocations: 210.4 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.2935, allocations: 10.66 MB / 1.034 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.2943, allocations: 1.121 MB / 1.035 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006096/0.2949, allocations: 198.3 kB / 1.035 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.2954, allocations: 395.3 kB / 1.036 GB, free: 360 kB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.2954, allocations: 0 / 1.036 GB, free: 360 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/0.3388, allocations: 22.16 MB / 1.057 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.339, allocations: 221.8 kB / 1.058 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.084, allocations: 0 / 1.058 GB, free: 10.29 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)