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.673/1.673, allocations: 288.4 MB / 303.3 MB, free: 8.043 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.001152/0.001152, allocations: 174.3 kB / 372 MB, free: 10.26 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.467/1.467, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007753/0.0007751, allocations: 89.17 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004264, allocations: 14.83 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2079, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003527/0.2115, allocations: 3.763 MB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.2157, allocations: 2.839 MB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/0.2165, allocations: 15.88 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009636/0.2175, allocations: 310.3 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.219, allocations: 0.5678 MB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2203, allocations: 0.509 MB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.2221, allocations: 1.765 MB / 0.9892 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.2224, allocations: 152.5 kB / 0.9893 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.2231, allocations: 0.5138 MB / 0.9898 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.2238, allocations: 0.6735 MB / 0.9905 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2239, allocations: 44 kB / 0.9905 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.2245, allocations: 295.7 kB / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.2248, allocations: 426.7 kB / 0.9912 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.2249, allocations: 241 kB / 0.9914 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.2256, allocations: 1.06 MB / 0.9925 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2257, allocations: 0 / 0.9925 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2257, allocations: 4 kB / 0.9925 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.2257, allocations: 0 / 0.9925 GB, free: 14.37 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.002304/0.228, allocations: 1.476 MB / 0.9939 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2281, allocations: 16.02 kB / 0.9939 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.4e-05/0.2281, allocations: 78.53 kB / 0.994 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.2283, allocations: 130.4 kB / 0.9941 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.2293, allocations: 0.7798 MB / 0.9949 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.2294, allocations: 45 kB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.2294, allocations: 63.91 kB / 0.995 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.2302, allocations: 0.6138 MB / 0.9956 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2302, allocations: 0 / 0.9956 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.2302, allocations: 20 kB / 0.9956 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2302, allocations: 8 kB / 0.9956 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.2309, allocations: 0.5582 MB / 0.9962 GB, free: 10.45 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.003505/0.2344, allocations: 3.302 MB / 0.9994 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.2355, allocations: 0.8494 MB / 1 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.2359, allocations: 361.4 kB / 1.001 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.757e-05/0.2359, allocations: 32.34 kB / 1.001 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.236, allocations: 34.94 kB / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.653e-06/0.236, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.00143/0.2374, allocations: 1.187 MB / 1.002 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.2375, allocations: 59.41 kB / 1.002 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.2387, allocations: 1.219 MB / 1.003 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.2387, allocations: 45.64 kB / 1.003 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.239, allocations: 460.7 kB / 1.004 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.2391, allocations: 177.5 kB / 1.004 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.2391, allocations: 16 kB / 1.004 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.2392, allocations: 349.9 kB / 1.004 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.2398, allocations: 0.6504 MB / 1.005 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.2405, allocations: 0.963 MB / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.2414, allocations: 0.7443 MB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2414, allocations: 7.938 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002253/0.2437, allocations: 1.779 MB / 1.008 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2437, allocations: 8 kB / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.2437, allocations: 12 kB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.2439, allocations: 52.77 kB / 1.008 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2451, allocations: 268 kB / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.2489, allocations: 6.729 MB / 1.015 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.2501, allocations: 134.7 kB / 1.015 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.2502, allocations: 40.19 kB / 1.015 GB, free: 6.188 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.0004758/0.2507, allocations: 309.3 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.2509, allocations: 114.5 kB / 1.016 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.2521, allocations: 0.8453 MB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2521, allocations: 8 kB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2521, allocations: 0 / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2521, allocations: 7.938 kB / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.2531, allocations: 0.9075 MB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2532, allocations: 0 / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.2537, allocations: 111.8 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.2538, allocations: 36.83 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2539, allocations: 16 kB / 1.017 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009625/0.2548, allocations: 1.342 MB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2549, allocations: 4.031 kB / 1.019 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.2565, allocations: 1.362 MB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.2569, allocations: 263.4 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.257, allocations: 20.08 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.2576, allocations: 35.92 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.2576, allocations: 27.95 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.2577, allocations: 8 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001085/0.2588, allocations: 0.8077 MB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2588, allocations: 3.938 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001086/0.2599, allocations: 379.6 kB / 1.022 GB, free: 15.36 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.002225/0.2621, allocations: 2.004 MB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.2646, allocations: 1.506 MB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2646, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.2652, allocations: 483.1 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.2665, allocations: 215.8 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.2791, allocations: 8.91 MB / 1.034 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.2798, allocations: 1.094 MB / 1.035 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006296/0.2804, allocations: 203.1 kB / 1.036 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.2809, allocations: 399.3 kB / 1.036 GB, free: 104 kB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/0.281, allocations: 0 / 1.036 GB, free: 104 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.3251, allocations: 23.48 MB / 1.059 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.3254, allocations: 234.2 kB / 1.059 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/3.316, allocations: 0 / 1.059 GB, free: 8.711 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)