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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 288.4 MB / 303.7 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.00131/0.00131, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.557/1.557, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0007067/0.0007067, allocations: 90.86 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 10.53 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003371/0.2086, allocations: 3.771 MB / 0.9838 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.2123, allocations: 2.828 MB / 0.9866 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.2127, allocations: 19.88 kB / 0.9866 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.2134, allocations: 310.3 kB / 0.9869 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009269/0.2144, allocations: 0.5638 MB / 0.9874 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2154, allocations: 0.5288 MB / 0.9879 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.2166, allocations: 1.796 MB / 0.9897 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2169, allocations: 153.9 kB / 0.9898 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.2173, allocations: 0.5098 MB / 0.9903 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.218, allocations: 0.6657 MB / 0.991 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-05/0.2181, allocations: 40 kB / 0.991 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.2185, allocations: 375.4 kB / 0.9914 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.2188, allocations: 422.7 kB / 0.9918 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.2192, allocations: 0.5575 MB / 0.9923 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.2199, allocations: 1.072 MB / 0.9934 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.22, allocations: 0 / 0.9934 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.22, allocations: 0 / 0.9934 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.22, allocations: 0 / 0.9934 GB, free: 13.73 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.002327/0.2223, allocations: 1.468 MB / 0.9948 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2224, allocations: 12.03 kB / 0.9948 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2226, allocations: 135.2 kB / 0.995 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2237, allocations: 0.8037 MB / 0.9957 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.2237, allocations: 45.38 kB / 0.9958 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.2238, allocations: 68.27 kB / 0.9959 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.2245, allocations: 0.6178 MB / 0.9965 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2246, allocations: 0 / 0.9965 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.2246, allocations: 20 kB / 0.9965 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2246, allocations: 12 kB / 0.9965 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.2252, allocations: 0.5543 MB / 0.997 GB, free: 9.867 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.00353/0.2288, allocations: 3.306 MB / 1 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2299, allocations: 0.8377 MB / 1.001 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.2303, allocations: 365.4 kB / 1.001 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/0.2304, allocations: 36.22 kB / 1.001 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2304, allocations: 34.94 kB / 1.001 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.2304, allocations: 0 / 1.001 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.00141/0.2318, allocations: 1.194 MB / 1.003 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.2319, allocations: 55.41 kB / 1.003 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.2331, allocations: 1.212 MB / 1.004 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2331, allocations: 41.7 kB / 1.004 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.2333, allocations: 472.7 kB / 1.004 GB, free: 2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.2335, allocations: 165.5 kB / 1.005 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.2335, allocations: 20 kB / 1.005 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.2336, allocations: 353.9 kB / 1.005 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.2342, allocations: 0.6387 MB / 1.006 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.235, allocations: 0.9708 MB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.2367, allocations: 1.586 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.2367, allocations: 3.938 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002245/0.239, allocations: 1.776 MB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.239, allocations: 8.156 kB / 1.01 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.239, allocations: 16 kB / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.2393, allocations: 52.77 kB / 1.01 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2404, allocations: 263.6 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.2443, allocations: 6.741 MB / 1.017 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.2454, allocations: 134.6 kB / 1.017 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.2455, allocations: 40 kB / 1.017 GB, free: 4.625 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.0004388/0.2459, allocations: 306.5 kB / 1.017 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2461, allocations: 114.6 kB / 1.017 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.2473, allocations: 0.8424 MB / 1.018 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2473, allocations: 4 kB / 1.018 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2473, allocations: 11.94 kB / 1.018 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2473, allocations: 3.984 kB / 1.018 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2484, allocations: 0.9075 MB / 1.019 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2485, allocations: 0 / 1.019 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.249, allocations: 111.9 kB / 1.019 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.2491, allocations: 36.77 kB / 1.019 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.2492, allocations: 15.98 kB / 1.019 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009822/0.2502, allocations: 1.334 MB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2502, allocations: 0 / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.2518, allocations: 1.37 MB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.2522, allocations: 259.5 kB / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2523, allocations: 19.92 kB / 1.022 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.2529, allocations: 39.91 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.253, allocations: 31.89 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.253, allocations: 12 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001134/0.2542, allocations: 0.8154 MB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2542, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001028/0.2552, allocations: 367.6 kB / 1.023 GB, free: 13.8 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.0005038/0.2557, allocations: 271 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002412/0.2581, allocations: 1.5 MB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2582, allocations: 4.062 kB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.2587, allocations: 478.1 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.2598, allocations: 207.4 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.2637, allocations: 2.988 MB / 1.029 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.2645, allocations: 1.098 MB / 1.03 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005513/0.265, allocations: 203.1 kB / 1.03 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.2652, allocations: 67.42 kB / 1.03 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/0.2652, allocations: 0 / 1.03 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.02363/0.2889, allocations: 13.37 MB / 1.043 GB, free: 9.691 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (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 & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)